| Package | Description |
|---|---|
| com.helger.as2lib.client |
| Modifier and Type | Method and Description |
|---|---|
AS2ClientSettings |
AS2ClientSettings.setAsyncMDNUrl(String sAsyncMDNUrl)
Set the asynchronous MDN URL to be used.
|
AS2ClientSettings |
AS2ClientSettings.setCompress(ECompressionType eCompressionType,
boolean bCompressBeforeSigning)
Enable or disable the compression of the message.
|
AS2ClientSettings |
AS2ClientSettings.setConnectTimeoutMS(int nConnectTimeoutMS)
Set the connection timeout in milliseconds.
|
AS2ClientSettings |
AS2ClientSettings.setEncryptAndSign(ECryptoAlgorithmCrypt eCryptAlgo,
ECryptoAlgorithmSign eSignAlgo)
Set the encryption and signing algorithms to use.
|
AS2ClientSettings |
AS2ClientSettings.setKeyStore(com.helger.security.keystore.IKeyStoreType aKeyStoreType,
File aFile,
String sPassword)
Set the details of the certificate store of the client.
|
AS2ClientSettings |
AS2ClientSettings.setLargeFileSupport(boolean bLargeFileSupport) |
AS2ClientSettings |
AS2ClientSettings.setMDNOptions(DispositionOptions aDispositionOptions)
Set the MDN options to be used.
|
AS2ClientSettings |
AS2ClientSettings.setMDNOptions(String sMDNOptions)
Set the MDN options to be used.
|
AS2ClientSettings |
AS2ClientSettings.setMDNRequested(boolean bMDNRequested)
Determine if an MDN is requested at all.
|
AS2ClientSettings |
AS2ClientSettings.setMessageIDFormat(String sMessageIDFormat)
Set the Message ID format.
|
AS2ClientSettings |
AS2ClientSettings.setPartnershipName(String sPartnershipName)
Set the name of the partnership for lookup and dynamic creation.
|
AS2ClientSettings |
AS2ClientSettings.setReadTimeoutMS(int nReadTimeoutMS)
Set the read timeout in milliseconds.
|
AS2ClientSettings |
AS2ClientSettings.setReceiverCertificate(X509Certificate aReceiverCertificate)
Explicitly set the receiver certificate to be used.
|
AS2ClientSettings |
AS2ClientSettings.setReceiverData(String sAS2ID,
String sKeyAlias,
String sAS2URL)
Set the receiver data.
|
AS2ClientSettings |
AS2ClientSettings.setRetryCount(int nRetryCount)
Set the retry count for sending,
|
AS2ClientSettings |
AS2ClientSettings.setSaveKeyStoreChangesToFile(boolean bSaveKeyStoreChangesToFile)
Change the behavior if all changes to the keystore should trigger a saving
to the original file.
|
AS2ClientSettings |
AS2ClientSettings.setSenderData(String sAS2ID,
String sEmailAddress,
String sKeyAlias)
Set the sender data.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AS2Client.beforeSend(AS2ClientSettings aSettings,
AS2Session aSession,
IMessage aMsg)
Callback method that is invoked before the main sending.
|
protected Partnership |
AS2Client.buildPartnership(AS2ClientSettings aSettings)
Create a new
Partnership object that is later used for message
creation. |
protected void |
AS2Client.initCertificateFactory(AS2ClientSettings aSettings,
AS2Session aSession) |
AS2ClientResponse |
AS2Client.sendSynchronous(AS2ClientSettings aSettings,
AS2ClientRequest aRequest)
Send the AS2 message synchronously
|
Copyright © 2013–2019 Philip Helger. All rights reserved.