| Modifier and Type | Method and Description |
|---|---|
void |
IDynamicComponent.initDynamicComponent(IAS2Session aSession,
com.helger.commons.collection.attr.IStringMap aParameters)
After creating a Component object, this method should be called to set any
parameters used by the component.
|
void |
AbstractDynamicComponent.initDynamicComponent(IAS2Session aSession,
com.helger.commons.collection.attr.IStringMap aParameters) |
| Modifier and Type | Class and Description |
|---|---|
class |
CertificateExistsException |
class |
CertificateNotFoundException |
class |
KeyNotFoundException |
| Modifier and Type | Method and Description |
|---|---|
void |
IAliasedCertificateFactory.addCertificate(String sAlias,
X509Certificate aCert,
boolean bOverwrite) |
void |
CertificateFactory.addCertificate(String sAlias,
X509Certificate aCert,
boolean bOverwrite) |
void |
IAliasedCertificateFactory.addPrivateKey(String sAlias,
Key aKey,
String sPassword) |
void |
CertificateFactory.addPrivateKey(String sAlias,
Key aKey,
String sPassword) |
void |
IAliasedCertificateFactory.clearCertificates() |
void |
CertificateFactory.clearCertificates() |
String |
CertificateFactory.getAlias(Partnership aPartnership,
ECertificatePartnershipType ePartnershipType) |
abstract String |
AbstractCertificateFactory.getAlias(Partnership aPartnership,
ECertificatePartnershipType ePartnershipType) |
X509Certificate |
ICertificateFactory.getCertificate(IMessage aMsg,
ECertificatePartnershipType ePartnershipType)
Get the certificate of the specified type for the partnership defined in
the provided message
|
X509Certificate |
AbstractCertificateFactory.getCertificate(IMessage aMsg,
ECertificatePartnershipType ePartnershipType) |
X509Certificate |
ICertificateFactory.getCertificate(IMessageMDN aMDN,
ECertificatePartnershipType ePartnershipType)
Get the certificate of the specified type for the partnership defined in
the provided MDN
|
X509Certificate |
AbstractCertificateFactory.getCertificate(IMessageMDN aMDN,
ECertificatePartnershipType ePartnershipType) |
X509Certificate |
IAliasedCertificateFactory.getCertificate(String sAlias) |
X509Certificate |
CertificateFactory.getCertificate(String sAlias) |
X509Certificate |
ICertificateFactory.getCertificateOrNull(IMessage aMsg,
ECertificatePartnershipType ePartnershipType)
Get the certificate of the specified type for the partnership defined in
the provided message
|
X509Certificate |
AbstractCertificateFactory.getCertificateOrNull(IMessage aMsg,
ECertificatePartnershipType ePartnershipType) |
X509Certificate |
ICertificateFactory.getCertificateOrNull(IMessageMDN aMDN,
ECertificatePartnershipType ePartnershipType)
Get the certificate of the specified type for the partnership defined in
the provided MDN
|
X509Certificate |
AbstractCertificateFactory.getCertificateOrNull(IMessageMDN aMDN,
ECertificatePartnershipType ePartnershipType) |
com.helger.commons.collection.impl.ICommonsMap<String,Certificate> |
IAliasedCertificateFactory.getCertificates() |
com.helger.commons.collection.impl.ICommonsOrderedMap<String,Certificate> |
CertificateFactory.getCertificates() |
PrivateKey |
ICertificateFactory.getPrivateKey(IMessageMDN aMDN,
X509Certificate aCert) |
PrivateKey |
CertificateFactory.getPrivateKey(IMessageMDN aMDN,
X509Certificate aCert) |
PrivateKey |
ICertificateFactory.getPrivateKey(IMessage aMsg,
X509Certificate aCert) |
PrivateKey |
CertificateFactory.getPrivateKey(IMessage aMsg,
X509Certificate aCert) |
PrivateKey |
CertificateFactory.getPrivateKey(X509Certificate aCert) |
void |
CertificateFactory.initDynamicComponent(IAS2Session aSession,
com.helger.commons.collection.attr.IStringMap aOptions) |
protected X509Certificate |
CertificateFactory.internalGetCertificate(String sAlias,
ECertificatePartnershipType ePartnershipType) |
protected abstract X509Certificate |
AbstractCertificateFactory.internalGetCertificate(String sAlias,
ECertificatePartnershipType ePartnershipType) |
default void |
IStorableCertificateFactory.load()
Shortcut for
load (getFilename (), getPassword ()); |
void |
IStorableCertificateFactory.load(InputStream aIS,
char[] aPassword) |
void |
CertificateFactory.load(InputStream aIS,
char[] aPassword) |
default void |
IStorableCertificateFactory.load(String sFilename,
char[] aPassword) |
protected void |
CertificateFactory.onChange()
Custom callback method that is invoked if something changes in the key
store.
|
void |
IAliasedCertificateFactory.removeCertificate(String sAlias) |
void |
CertificateFactory.removeCertificate(String sAlias) |
void |
IAliasedCertificateFactory.removeCertificate(X509Certificate aCert) |
void |
CertificateFactory.removeCertificate(X509Certificate aCert) |
default void |
IStorableCertificateFactory.save()
Shortcut for
save (getFilename (), getPassword ()); |
void |
IStorableCertificateFactory.save(OutputStream aOS,
char[] aPassword) |
void |
CertificateFactory.save(OutputStream aOS,
char[] aPassword) |
default void |
IStorableCertificateFactory.save(String sFilename,
char[] aPassword) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AS2Client.initCertificateFactory(AS2ClientSettings aSettings,
AS2Session aSession) |
protected void |
AS2Client.initMessageProcessor(AS2Session aSession) |
protected void |
AS2Client.initPartnershipFactory(AS2Session aSession) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ICryptoHelper.isCompressed(String sContentType)
Check if the passed content type indicates compression.
|
boolean |
BCCryptoHelper.isCompressed(String sContentType) |
| Modifier and Type | Class and Description |
|---|---|
class |
DispositionException
Exception thrown in case a message disposition contains an error or a
warning.
|
| Modifier and Type | Method and Description |
|---|---|
static DispositionType |
DispositionType.createFromString(String sDisposition) |
static DispositionOptions |
DispositionOptions.createFromString(String sOptions)
Parse Strings like
signed-receipt-protocol=optional, pkcs7-signature;
signed-receipt-micalg=optional, sha1 |
| Modifier and Type | Class and Description |
|---|---|
class |
OpenAS2UnsupportedException |
class |
WrappedOpenAS2Exception
An
OpenAS2Exception that wraps an existing exception easily. |
| Modifier and Type | Method and Description |
|---|---|
static OpenAS2Exception |
WrappedOpenAS2Exception.wrap(Throwable t)
Ensure the passed
Throwable is an OpenAS2Exception. |
| Modifier and Type | Class and Description |
|---|---|
class |
InvalidParameterException |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractParameterParser.setParameters(String sFormat,
String sDelimiters,
String sValue)
Set parameters from a string separated by delimiters.
|
| Constructor and Description |
|---|
ExceptionParameters(OpenAS2Exception aTarget,
boolean bTerminated) |
| Modifier and Type | Class and Description |
|---|---|
class |
PartnershipNotFoundException
Exception thrown if a desired partnership is not present.
|
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.state.EChange |
IPartnershipFactory.addPartnership(Partnership aPartnership)
Add a partnership.
|
com.helger.commons.state.EChange |
AbstractPartnershipFactory.addPartnership(Partnership aPartnership) |
Partnership |
SelfFillingPartnershipFactory.getPartnership(Partnership aPartnership) |
Partnership |
IPartnershipFactory.getPartnership(Partnership aPartnership)
Get the partnership identified by the provided stub partnership.
|
Partnership |
AbstractPartnershipFactory.getPartnership(Partnership aPartnership) |
protected void |
AbstractPartnershipFactory.markAsChanged()
Callback method that is invoked, when this object is modified.
|
protected void |
SelfFillingPartnershipFactory.onBeforeAddPartnership(Partnership aPartnership)
Callback method that is invoked every time a new partnership is
automatically added.
|
void |
IRefreshablePartnershipFactory.refreshPartnershipFactory()
Refresh the partnership factory.
|
com.helger.commons.state.EChange |
IPartnershipFactory.removePartnership(Partnership aPartnership)
Remove the specified partnership.
|
com.helger.commons.state.EChange |
AbstractPartnershipFactory.removePartnership(Partnership aPartnership) |
protected void |
AbstractPartnershipFactory.setPartnerships(PartnershipMap aPartnerships) |
void |
IPartnershipFactory.updatePartnership(IMessage aMsg,
boolean bOverwrite)
Looks up and fills in any header info for a specific msg's partnership.
|
void |
AbstractPartnershipFactory.updatePartnership(IMessage aMsg,
boolean bOverwrite) |
void |
IPartnershipFactory.updatePartnership(IMessageMDN aMdn,
boolean bOverwrite)
Looks up and fills in any header info for a specific MDN's partnership
|
void |
AbstractPartnershipFactory.updatePartnership(IMessageMDN aMdn,
boolean bOverwrite) |
| Modifier and Type | Method and Description |
|---|---|
void |
PartnerMap.addPartner(Partner aNewPartner) |
void |
IPartnershipFactoryWithPartners.addPartner(Partner aNewPartner)
Add a partner.
|
void |
AbstractPartnershipFactoryWithPartners.addPartner(Partner aNewPartner) |
Partnership |
SelfFillingXMLPartnershipFactory.getPartnership(Partnership aPartnership) |
void |
XMLPartnershipFactory.initDynamicComponent(IAS2Session session,
com.helger.commons.collection.attr.IStringMap parameters) |
protected void |
XMLPartnershipFactory.load(InputStream aIS) |
Partner |
XMLPartnershipFactory.loadPartner(com.helger.xml.microdom.IMicroElement ePartner) |
protected void |
XMLPartnershipFactory.loadPartnerIDs(com.helger.xml.microdom.IMicroElement ePartnership,
IPartnerMap aAllPartners,
Partnership aPartnership,
boolean bIsSender) |
Partnership |
XMLPartnershipFactory.loadPartnership(com.helger.xml.microdom.IMicroElement ePartnership,
IPartnerMap aAllPartners) |
protected void |
XMLPartnershipFactory.loadPartnershipAttributes(com.helger.xml.microdom.IMicroElement aNode,
Partnership aPartnership) |
protected void |
SelfFillingXMLPartnershipFactory.onBeforeAddPartnership(Partnership aPartnership)
Callback method that is invoked every time a new partnership is
automatically added.
|
void |
XMLPartnershipFactory.refreshPartnershipFactory() |
com.helger.commons.state.EChange |
IPartnershipFactoryWithPartners.removePartner(String sPartnerName)
Remove a partner.
|
com.helger.commons.state.EChange |
AbstractPartnershipFactoryWithPartners.removePartner(String sPartnerName) |
protected void |
AbstractPartnershipFactoryWithPartners.setPartners(PartnerMap aPartners) |
void |
XMLPartnershipFactory.storePartnership()
Store the current status of the partnerships to a file.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NoModuleException |
class |
ProcessorException
An exception thrown the an
IMessageProcessor has caught exceptions. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractMessageProcessor.executeAction(String sAction,
IMessage aMsg,
Map<String,Object> aOptions)
Execution the provided action with the registered modules.
|
void |
IMessageProcessor.handle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
void |
DefaultMessageProcessor.handle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
void |
AsyncMessageProcessor.handle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
| Modifier and Type | Class and Description |
|---|---|
class |
ForcedStopException |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
AbstractActiveModule.doStart()
Implement the internal start logic.
|
abstract void |
AbstractActiveModule.doStop()
Implement the internal stop logic.
|
void |
IProcessorModule.handle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
void |
AbstractActiveModule.handle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
void |
IProcessorActiveModule.start() |
void |
AbstractActiveModule.start() |
void |
IProcessorActiveModule.stop() |
void |
AbstractActiveModule.stop() |
| Modifier and Type | Class and Description |
|---|---|
class |
InvalidMessageException |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractActiveNetModule.handleError(IMessage aMsg,
OpenAS2Exception aSrcEx) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractActivePollingModule.doStart() |
void |
AbstractActiveNetModule.doStart() |
void |
AbstractActivePollingModule.doStop() |
void |
AbstractActiveNetModule.doStop() |
void |
AbstractDirectoryPollingModule.initDynamicComponent(IAS2Session aSession,
com.helger.commons.collection.attr.IStringMap aOptions) |
void |
AbstractActivePollingModule.initDynamicComponent(IAS2Session aSession,
com.helger.commons.collection.attr.IStringMap aOptions) |
void |
AbstractActiveNetModule.initDynamicComponent(IAS2Session aSession,
com.helger.commons.collection.attr.IStringMap aOptions) |
protected void |
AbstractDirectoryPollingModule.processFile(File aFile) |
void |
AbstractDirectoryPollingModule.updateMessage(IMessage aMsg,
File aFile) |
protected void |
AbstractDirectoryPollingModule.updateTracking() |
| Modifier and Type | Class and Description |
|---|---|
class |
NetException |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AS2ReceiverHandler.decrypt(IMessage aMsg) |
protected void |
AS2MDNReceiverHandler.receiveMDN(AS2Message aMsg,
byte[] aData,
IAS2HttpResponseHandler aResponseHandler)
method for receiving and processing Async MDN sent from receiver.
|
void |
AS2MDNReceiverHandler.reparse(AS2Message aMsg,
IAS2HttpConnection aConn) |
protected void |
AS2ReceiverHandler.verify(IMessage aMsg) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractActiveResenderModule.doStart() |
void |
InMemoryResenderModule.doStop() |
void |
AbstractActiveResenderModule.doStop() |
void |
InMemoryResenderModule.handle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
void |
ImmediateResenderModule.handle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
void |
DirectoryResenderModule.handle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
void |
DirectoryResenderModule.initDynamicComponent(IAS2Session aSession,
com.helger.commons.collection.attr.IStringMap aOptions) |
void |
AbstractActiveResenderModule.initDynamicComponent(IAS2Session aSession,
com.helger.commons.collection.attr.IStringMap aParameters) |
protected void |
DirectoryResenderModule.resendFile(File aFile) |
protected void |
InMemoryResenderModule.resendItem(ResendItem aItem) |
| Modifier and Type | Class and Description |
|---|---|
class |
HttpResponseException |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractSenderModule.doResend(String sResendAction,
IMessage aMsg,
OpenAS2Exception aCause,
int nTriesLeft) |
protected void |
AS2SenderModule.onReceivedMDNError(AS2Message aMsg,
OpenAS2Exception ex)
Handler for errors in MDN processing.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractSenderModule.doResend(String sResendAction,
IMessage aMsg,
OpenAS2Exception aCause,
int nTriesLeft) |
AS2HttpClient |
AbstractHttpSenderModule.getHttpClient(String sUrl,
com.helger.commons.http.EHttpMethod eRequestMethod,
Proxy aProxy)
Generate a HttpClient connection.
|
AS2HttpURLConnection |
AbstractHttpSenderModule.getHttpURLConnection(String sUrl,
boolean bOutput,
boolean bInput,
boolean bUseCaches,
com.helger.commons.http.EHttpMethod eRequestMethod,
Proxy aProxy) |
void |
AsynchMDNSenderModule.handle(String sAction,
IMessage aBaseMsg,
Map<String,Object> aOptions) |
void |
AS2SenderModule.handle(String sAction,
IMessage aBaseMsg,
Map<String,Object> aOptions) |
protected void |
AS2SenderModule.onReceivedMDNError(AS2Message aMsg,
OpenAS2Exception ex)
Handler for errors in MDN processing.
|
protected void |
AS2SenderModule.receiveSyncMDN(AS2Message aMsg,
IAS2HttpConnection aConn,
String sOriginalMIC) |
protected void |
AS2SenderModule.storePendingInfo(AS2Message aMsg,
String sMIC)
for storing original mic and outgoing file into pending information file
|
| Modifier and Type | Method and Description |
|---|---|
protected File |
AbstractStorageModule.getFile(IMessage aMsg,
String sFileParam,
String sAction) |
void |
MessageFileModule.handle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
void |
MDNFileModule.handle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
void |
AbstractStorageModule.initDynamicComponent(IAS2Session aSession,
com.helger.commons.collection.attr.IStringMap aOptions) |
| Modifier and Type | Class and Description |
|---|---|
class |
ComponentDuplicateException
Exception to be thrown from
AS2Session if a component with the
specified ID is already registered. |
class |
ComponentNotFoundException
Thrown from
AS2Session if a component was not present. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends IDynamicComponent> |
AS2XMLHelper.createComponent(com.helger.xml.microdom.IMicroElement aElement,
Class<T> aClass,
IAS2Session aSession,
String sBaseDirectory) |
static com.helger.commons.collection.attr.StringMap |
AS2XMLHelper.getAllAttrsWithLowercaseNameWithRequired(com.helger.xml.microdom.IMicroElement aElement,
String... aRequiredAttributes) |
static void |
AS2IOHelper.handleError(File aFile,
String sErrorDirectory)
move the file to an error directory
|
static com.helger.commons.collection.impl.ICommonsOrderedMap<String,String> |
AS2XMLHelper.mapAttributeNodes(com.helger.xml.microdom.IMicroElement aNode,
String sNodeName,
String sNodeKeyName,
String sNodeValueName) |
| Modifier and Type | Class and Description |
|---|---|
class |
CertificateException
Exceptions for certificate handling
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
IAS2HttpConnection.getInputStream() |
InputStream |
AS2HttpClient.getInputStream()
Get InputStream
|
int |
IAS2HttpConnection.getResponseCode() |
int |
AS2HttpClient.getResponseCode()
Get response HTTP Status as integer
|
com.helger.commons.http.HttpHeaderMap |
IAS2HttpConnection.getResponseHeaderFields() |
com.helger.commons.http.HttpHeaderMap |
AS2HttpClient.getResponseHeaderFields() |
String |
IAS2HttpConnection.getResponseMessage() |
String |
AS2HttpClient.getResponseMessage()
Get the response message
|
URL |
IAS2HttpConnection.getURL() |
URL |
AS2HttpClient.getURL()
Get URL
|
Copyright © 2013–2019 Philip Helger. All rights reserved.