Modifier and Type | Class and Description |
---|---|
class |
ComponentNotFoundException |
class |
DispositionException |
class |
WrappedException |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseSession.init()
This method is called by the
BaseSession constructor to set up any global
configuration settings. |
void |
Component.init(Session session,
Map<String,String> parameters)
Component lifecycle hook.
|
void |
BaseComponent.init(Session session,
Map<String,String> parameters) |
void |
BaseSession.start() |
Constructor and Description |
---|
BaseSession()
Creates a
BaseSession object, then calls the init() method. |
Modifier and Type | Method and Description |
---|---|
protected abstract CommandResult |
AliasedCertCommand.execute(AliasedCertificateFactory certFx,
Object[] params) |
CommandResult |
ImportCertCommand.execute(AliasedCertificateFactory certFx,
Object[] params) |
CommandResult |
DeleteCertCommand.execute(AliasedCertificateFactory certFx,
Object[] params) |
protected CommandResult |
ViewCertCommand.execute(AliasedCertificateFactory certFx,
Object[] params) |
CommandResult |
ImportCertInEncodedStreamCommand.execute(AliasedCertificateFactory certFx,
Object[] params) |
CommandResult |
ListCertCommand.execute(AliasedCertificateFactory certFx,
Object[] params) |
CommandResult |
ClearCertsCommand.execute(AliasedCertificateFactory certFx,
Object[] params) |
protected CommandResult |
ImportCertCommand.importCert(AliasedCertificateFactory certFx,
String alias,
String filename) |
protected CommandResult |
ImportCertInEncodedStreamCommand.importCert(AliasedCertificateFactory certFx,
String alias,
String encodedCert) |
Modifier and Type | Method and Description |
---|---|
protected abstract CommandResult |
AliasedLoggingCommand.execute(org.apache.commons.logging.Log logger,
Object[] params) |
CommandResult |
SetLogLevelCommand.execute(org.apache.commons.logging.Log logger,
Object[] params) |
Modifier and Type | Method and Description |
---|---|
protected CommandResult |
ViewPartnershipCommand.execute(PartnershipFactory partFx,
Object[] params) |
protected CommandResult |
ViewPartnerCommand.execute(PartnershipFactory partFx,
Object[] params) |
CommandResult |
DeletePartnershipCommand.execute(PartnershipFactory partFx,
Object[] params) |
CommandResult |
ListPartnershipsCommand.execute(PartnershipFactory partFx,
Object[] params) |
CommandResult |
AddPartnerCommand.execute(PartnershipFactory partFx,
Object[] params) |
protected abstract CommandResult |
AliasedPartnershipsCommand.execute(PartnershipFactory partFx,
Object[] params) |
CommandResult |
AddPartnershipCommand.execute(PartnershipFactory partFx,
Object[] params) |
CommandResult |
DeletePartnerCommand.execute(PartnershipFactory partFx,
Object[] params) |
CommandResult |
ListPartnersCommand.execute(PartnershipFactory partFx,
Object[] params) |
Modifier and Type | Class and Description |
---|---|
class |
CertificateExistsException |
class |
CertificateNotFoundException |
class |
KeyNotFoundException |
Modifier and Type | Method and Description |
---|---|
void |
PKCS12CertificateFactory.addCertificate(String alias,
X509Certificate cert,
boolean overwrite) |
void |
AliasedCertificateFactory.addCertificate(String alias,
X509Certificate cert,
boolean overwrite) |
void |
PKCS12CertificateFactory.addPrivateKey(String alias,
Key key,
String password) |
void |
AliasedCertificateFactory.addPrivateKey(String alias,
Key key,
String password) |
void |
PKCS12CertificateFactory.clearCertificates() |
void |
AliasedCertificateFactory.clearCertificates() |
String |
PKCS12CertificateFactory.getAlias(Partnership partnership,
String partnershipType) |
X509Certificate |
CertificateFactory.getCertificate(MessageMDN msg,
String partnershipType) |
X509Certificate |
PKCS12CertificateFactory.getCertificate(MessageMDN mdn,
String partnershipType) |
X509Certificate |
CertificateFactory.getCertificate(Message msg,
String partnershipType) |
X509Certificate |
PKCS12CertificateFactory.getCertificate(Message msg,
String partnershipType) |
X509Certificate |
PKCS12CertificateFactory.getCertificate(String alias) |
X509Certificate |
AliasedCertificateFactory.getCertificate(String alias) |
Map<String,X509Certificate> |
PKCS12CertificateFactory.getCertificates() |
Map<String,X509Certificate> |
AliasedCertificateFactory.getCertificates() |
PrivateKey |
CertificateFactory.getPrivateKey(MessageMDN msg,
X509Certificate cert) |
PrivateKey |
PKCS12CertificateFactory.getPrivateKey(MessageMDN mdn,
X509Certificate cert) |
PrivateKey |
CertificateFactory.getPrivateKey(Message msg,
X509Certificate cert) |
PrivateKey |
PKCS12CertificateFactory.getPrivateKey(Message msg,
X509Certificate cert) |
void |
PKCS12CertificateFactory.init(Session session,
Map<String,String> options) |
void |
StorableCertificateFactory.load() |
void |
PKCS12CertificateFactory.load() |
void |
StorableCertificateFactory.load(InputStream in,
char[] password) |
void |
PKCS12CertificateFactory.load(InputStream in,
char[] password) |
void |
StorableCertificateFactory.load(String filename,
char[] password) |
void |
PKCS12CertificateFactory.load(String filename,
char[] password) |
void |
PKCS12CertificateFactory.removeCertificate(String alias) |
void |
AliasedCertificateFactory.removeCertificate(String alias) |
void |
PKCS12CertificateFactory.removeCertificate(X509Certificate cert) |
void |
AliasedCertificateFactory.removeCertificate(X509Certificate cert) |
void |
StorableCertificateFactory.save() |
void |
PKCS12CertificateFactory.save() |
void |
StorableCertificateFactory.save(OutputStream out,
char[] password) |
void |
PKCS12CertificateFactory.save(OutputStream out,
char[] password) |
void |
StorableCertificateFactory.save(String filename,
char[] password) |
void |
PKCS12CertificateFactory.save(String filename,
char[] password) |
void |
PKCS12CertificateFactory.schedule(ScheduledExecutorService executor) |
Modifier and Type | Class and Description |
---|---|
class |
CommandException |
Modifier and Type | Method and Description |
---|---|
CommandResult |
MultiCommand.execute(String name,
Object[] params) |
void |
MultiCommand.init(Session session,
Map<String,String> parameters) |
void |
BaseCommand.init(Session session,
Map<String,String> parameters) |
void |
XMLCommandRegistry.init(Session session,
Map<String,String> parameters) |
void |
XMLCommandRegistry.load(InputStream in) |
protected void |
XMLCommandRegistry.loadCommand(Node node,
MultiCommand parent) |
protected void |
XMLCommandRegistry.loadMultiCommand(Node node,
MultiCommand parent) |
void |
XMLCommandRegistry.refresh() |
void |
CommandManager.registerCommands(CommandRegistry reg) |
Modifier and Type | Method and Description |
---|---|
void |
SocketCommandProcessor.init(Session session,
Map<String,String> parameters) |
void |
BaseCommandProcessor.init(Session session,
Map<String,String> parameters) |
void |
SocketCommandProcessor.processCommand() |
void |
BaseCommandProcessor.schedule(ScheduledExecutorService executor) |
Modifier and Type | Method and Description |
---|---|
javax.mail.internet.MimeBodyPart |
BCCryptoHelper.compress(Message msg,
javax.mail.internet.MimeBodyPart mbp,
String compressionType,
String contentTxfrEncoding) |
javax.mail.internet.MimeBodyPart |
ICryptoHelper.compress(Message msg,
javax.mail.internet.MimeBodyPart mbp,
String compressionType,
String contentTxfrEncoding) |
Modifier and Type | Method and Description |
---|---|
String |
BaseFormatter.format(OpenAS2Exception exception,
boolean terminated) |
String |
DefaultFormatter.getTerminatedMessage(OpenAS2Exception exception) |
protected boolean |
BaseLogger.isLogging(OpenAS2Exception exception) |
Modifier and Type | Method and Description |
---|---|
protected File |
FileLogger.getLogFile() |
protected String |
EmailLogger.getSubject(Level level,
String msg) |
void |
EmailLogger.init(Session session,
Map<String,String> parameters) |
void |
SocketLogger.init(Session session,
Map<String,String> parameters) |
void |
FileLogger.init(Session session,
Map<String,String> parameters) |
protected void |
EmailLogger.sendMessage(String subject,
String text) |
Modifier and Type | Method and Description |
---|---|
void |
EmailSender.init(Session session,
Map<String,String> parameters) |
protected void |
EmailSender.sendMessage(String subject,
String text) |
Modifier and Type | Class and Description |
---|---|
class |
InvalidMessageException |
Modifier and Type | Method and Description |
---|---|
DataHistoryItem |
BaseMessage.setData(javax.mail.internet.MimeBodyPart data) |
DataHistoryItem |
Message.setData(javax.mail.internet.MimeBodyPart data) |
void |
Message.setData(javax.mail.internet.MimeBodyPart data,
DataHistoryItem historyItem) |
Modifier and Type | Class and Description |
---|---|
class |
InvalidParameterException |
Modifier and Type | Method and Description |
---|---|
void |
ParameterParser.setParameters(String format,
String delimiters,
String value)
Set parameters from a string seperated by delimiters.
|
Modifier and Type | Class and Description |
---|---|
class |
PartnershipNotFoundException |
Modifier and Type | Method and Description |
---|---|
Partnership |
BasePartnershipFactory.getPartnership(Partnership p,
boolean reverseLookup) |
Partnership |
PartnershipFactory.getPartnership(Partnership p,
boolean reverseLookup) |
protected Partnership |
BasePartnershipFactory.getPartnership(String name) |
void |
XMLPartnershipFactory.init(Session session,
Map<String,String> parameters) |
void |
XMLPartnershipFactory.loadPartner(Map<String,Object> partners,
Node node) |
void |
XMLPartnershipFactory.loadPartnership(Map<String,Object> partners,
List<Partnership> partnerships,
Node node) |
void |
BasePartnershipFactory.processFilenameBasedAttribs(Message msg) |
void |
RefreshablePartnershipFactory.refresh() |
void |
XMLPartnershipFactory.schedule(ScheduledExecutorService executor) |
void |
XMLPartnershipFactory.storePartnership() |
void |
BasePartnershipFactory.updatePartnership(Message msg,
boolean overwrite) |
void |
PartnershipFactory.updatePartnership(Message msg,
boolean overwrite) |
void |
BasePartnershipFactory.updatePartnership(MessageMDN mdn,
boolean processFilenameAttribs) |
void |
PartnershipFactory.updatePartnership(MessageMDN mdn,
boolean overwrite) |
Modifier and Type | Class and Description |
---|---|
class |
ForcedStopException |
class |
NoModuleException |
class |
ProcessorException |
class |
UnsupportedException |
Modifier and Type | Method and Description |
---|---|
abstract void |
BaseActiveModule.doStart() |
abstract void |
BaseActiveModule.doStop() |
void |
Processor.handle(String action,
Message msg,
Map<Object,Object> options) |
void |
ProcessorModule.handle(String action,
Message msg,
Map<Object,Object> options) |
void |
BaseActiveModule.handle(String action,
Message msg,
Map<Object,Object> options) |
void |
DefaultProcessor.handle(String action,
Message msg,
Map<Object,Object> options) |
void |
BaseActiveModule.start() |
void |
ActiveModule.start() |
void |
Processor.startActiveModules() |
void |
DefaultProcessor.startActiveModules() |
void |
BaseActiveModule.stop() |
void |
ActiveModule.stop() |
void |
Processor.stopActiveModules() |
Modifier and Type | Method and Description |
---|---|
void |
BaseMsgTrackingModule.handle(String action,
Message msg,
Map<Object,Object> options) |
void |
DbTrackingModule.init(Session session,
Map<String,String> options) |
void |
BaseMsgTrackingModule.init(Session session,
Map<String,String> options) |
void |
DbTrackingModule.start() |
Modifier and Type | Class and Description |
---|---|
class |
NetException |
Modifier and Type | Method and Description |
---|---|
protected void |
NetModule.handleError(Message msg,
OpenAS2Exception oae) |
Modifier and Type | Method and Description |
---|---|
void |
MessageBuilderModule.buildMessageData(Message msg,
InputStream ip,
String filename) |
Message |
MessageBuilderModule.buildMessageMetadata(String filename) |
protected String |
AS2ReceiverHandler.decryptAndVerify(AS2Message msg) |
void |
NetModule.doStart() |
void |
PollingModule.doStart() |
void |
NetModule.doStop() |
void |
PollingModule.doStop() |
void |
DirectoryPollingModule.init(Session session,
Map<String,String> options) |
void |
MessageBuilderModule.init(Session session,
Map<String,String> options) |
void |
NetModule.init(Session session,
Map<String,String> options) |
void |
PollingModule.init(Session session,
Map<String,String> options) |
protected Message |
MessageBuilderModule.processDocument(InputStream ip,
String filename) |
protected void |
DirectoryPollingModule.processFile(File file) |
Modifier and Type | Method and Description |
---|---|
void |
BaseResenderModule.doStart() |
void |
BaseResenderModule.doStop() |
void |
DirectoryResenderModule.handle(String action,
Message msg,
Map<Object,Object> options) |
void |
DirectoryResenderModule.init(Session session,
Map<String,String> options) |
protected void |
DirectoryResenderModule.processFile(File file) |
protected List<File> |
DirectoryResenderModule.scanDirectory() |
Modifier and Type | Class and Description |
---|---|
class |
HttpResponseException |
Modifier and Type | Method and Description |
---|---|
protected void |
MDNSenderModule.resend(Message msg,
OpenAS2Exception cause) |
Modifier and Type | Method and Description |
---|---|
protected void |
AS2SenderModule.addCustomHeaders(Message msg) |
Map<String,String> |
HttpSenderModule.getHttpOptions() |
void |
AS2SenderModule.handle(String action,
Message msg,
Map<Object,Object> options) |
void |
MDNSenderModule.handle(String action,
Message msg,
Map<Object,Object> options) |
protected void |
MDNSenderModule.resend(Message msg,
OpenAS2Exception cause) |
Modifier and Type | Method and Description |
---|---|
protected File |
BaseStorageModule.getFile(Message msg,
String fileParam)
Add one more method "getFile" to make no impact to all modules who call this method with
only two parameter "Message msg" & "String fileParam"
|
protected File |
BaseStorageModule.getFile(Message msg,
String fileParam,
String action)
Extracts name of the file from the file parameter and returns a File object with the file name
|
void |
MDNFileModule.handle(String action,
Message msg,
Map<Object,Object> options) |
void |
MessageFileModule.handle(String action,
Message msg,
Map<Object,Object> options) |
void |
BaseStorageModule.init(Session session,
Map<String,String> options) |
protected void |
BaseStorageModule.store(File msgFile,
InputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
SchedulerComponent.init(Session session,
Map<String,String> parameters) |
void |
HasSchedule.schedule(ScheduledExecutorService executor) |
Modifier and Type | Method and Description |
---|---|
abstract void |
FileMonitorAdapter.onConfigFileChanged()
A template method which is triggered once observing file is changed.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
AS2Util.resend(Session session,
Object sourceClass,
String how,
Message msg,
OpenAS2Exception cause,
String tries,
boolean useOriginalMsgObject,
boolean keepOriginalData) |
Modifier and Type | Method and Description |
---|---|
static void |
AS2Util.attributeEnhancer(Map<String,String> attribs) |
static String |
AS2Util.buildPendingFileName(Message msg,
Processor processor,
String directoryIdentifier) |
static boolean |
AS2Util.checkMDN(AS2Message msg)
Verify disposition status is "processed" then check MIC is matched
|
static Component |
XMLUtil.getComponent(Node node,
Session session) |
static HttpURLConnection |
HTTPUtil.getConnection(String url,
boolean output,
boolean input,
boolean useCaches,
String requestMethod)
Deprecated.
Use post method to send messages
|
static void |
AS2Util.getMetaData(AS2Message msg,
File inFile) |
static void |
AS2Util.getMetaData(AS2Message msg,
Session session) |
static File |
HTTPUtil.getTrustedCertsKeystore() |
static void |
IOUtil.handleError(File file,
String errorDirectory) |
static Map<String,String> |
XMLUtil.mapAttributeNodes(NodeList nodes,
String nodeName,
String nodeKeyName,
String nodeValueName) |
static Map<String,String> |
XMLUtil.mapAttributes(Node node,
String[] requiredAttributes) |
protected void |
DispositionType.parseDisposition(String disposition) |
static void |
AS2Util.parseMDN(Message msg,
X509Certificate receiver) |
void |
DispositionOptions.parseOptions(String options) |
static void |
AS2Util.processMDN(AS2Message msg,
byte[] data,
OutputStream out,
boolean isAsyncMDN,
Session session,
Object sourceClass)
Processing MDN sent from receiver.
|
static boolean |
AS2Util.resend(Session session,
Object sourceClass,
String how,
Message msg,
OpenAS2Exception cause,
String tries,
boolean useOriginalMsgObject,
boolean keepOriginalData) |
Constructor and Description |
---|
DispositionOptions(String options) |
DispositionType(String disposition) |
ResponseWrapper(org.apache.http.HttpResponse response) |
Copyright © 2018. All rights reserved.