Class AbstractReceiverHandler
java.lang.Object
com.helger.as2lib.processor.receiver.net.AbstractReceiverHandler
- All Implemented Interfaces:
INetModuleHandler
- Direct Known Subclasses:
AS2MDNReceiverHandler
,AS2ReceiverHandler
Abstract base class for Message and MDN receive handlers.
- Author:
- Philip Helger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetClientInfo
(Socket aSocket) final IHTTPIncomingDumper
Get the customized incoming dumper, falling back to the global incoming dumper if no specific dumper is set.final IHTTPIncomingDumper
final Consumer<X509Certificate>
final void
setHttpIncomingDumper
(IHTTPIncomingDumper aHttpIncomingDumper) Set the specific incoming dumper of this receiver.final AbstractReceiverHandler
setVerificationCertificateConsumer
(Consumer<X509Certificate> aVerificationCertificateConsumer) Set the consumer for the effective certificate upon signature verification.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.helger.as2lib.processor.receiver.net.INetModuleHandler
handle
-
Constructor Details
-
AbstractReceiverHandler
public AbstractReceiverHandler()
-
-
Method Details
-
getVerificationCertificateConsumer
- Returns:
- The consumer for the effective certificate upon signature
verification. May be
null
. The default isnull
. - Since:
- 4.4.1
-
setVerificationCertificateConsumer
@Nonnull public final AbstractReceiverHandler setVerificationCertificateConsumer(@Nullable Consumer<X509Certificate> aVerificationCertificateConsumer) Set the consumer for the effective certificate upon signature verification.- Parameters:
aVerificationCertificateConsumer
- The consumer to be used. May benull
.- Returns:
- this for chaining
- Since:
- 4.4.1
-
getHttpIncomingDumper
- Returns:
- The specific incoming dumper of this receiver. May be
null
. - Since:
- v4.4.5
-
getEffectiveHttpIncomingDumper
Get the customized incoming dumper, falling back to the global incoming dumper if no specific dumper is set.- Returns:
- The effective incoming dumper. May be
null
. - Since:
- v4.4.5
-
setHttpIncomingDumper
Set the specific incoming dumper of this receiver. If this is set, it overrides the global dumper.- Parameters:
aHttpIncomingDumper
- The specific incoming dumper to be used. May benull
.- Since:
- v4.4.5
-
getClientInfo
-