Package network.oxalis.ng.as4.inbound
Class As4InboundHandler
- java.lang.Object
-
- network.oxalis.ng.as4.inbound.As4InboundHandler
-
public class As4InboundHandler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMPRESSION_TYPE
-
Constructor Summary
Constructors Constructor Description As4InboundHandler(TransmissionVerifier transmissionVerifier, PersisterHandler persisterHandler, TimestampProvider timestampProvider, HeaderParser headerParser, As4MessageFactory as4MessageFactory, PolicyService policyService, InboundService inboundService, OxalisCertificateValidator certificateValidator, network.oxalis.vefa.peppol.mode.Mode mode, com.typesafe.config.Config config)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]copyReceipt(jakarta.xml.soap.SOAPMessage response)jakarta.xml.soap.SOAPMessagehandle(jakarta.xml.soap.SOAPMessage request, jakarta.xml.ws.handler.MessageContext messageContext)static booleanpartInfoMissingMimeTypeHeader(PartInfo partInfo)voidvalidateMessageId(String messageId)static voidvalidatePayloads(PayloadInfo payloadInfo)
-
-
-
Field Detail
-
COMPRESSION_TYPE
public static final String COMPRESSION_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
As4InboundHandler
@Inject public As4InboundHandler(TransmissionVerifier transmissionVerifier, PersisterHandler persisterHandler, TimestampProvider timestampProvider, HeaderParser headerParser, As4MessageFactory as4MessageFactory, PolicyService policyService, InboundService inboundService, OxalisCertificateValidator certificateValidator, network.oxalis.vefa.peppol.mode.Mode mode, com.typesafe.config.Config config)
-
-
Method Detail
-
handle
public jakarta.xml.soap.SOAPMessage handle(jakarta.xml.soap.SOAPMessage request, jakarta.xml.ws.handler.MessageContext messageContext) throws OxalisAs4Exception- Throws:
OxalisAs4Exception
-
validatePayloads
public static void validatePayloads(PayloadInfo payloadInfo) throws OxalisAs4Exception
- Throws:
OxalisAs4Exception
-
partInfoMissingMimeTypeHeader
public static boolean partInfoMissingMimeTypeHeader(PartInfo partInfo)
-
copyReceipt
public byte[] copyReceipt(jakarta.xml.soap.SOAPMessage response) throws OxalisAs4Exception- Throws:
OxalisAs4Exception
-
validateMessageId
public void validateMessageId(String messageId) throws OxalisAs4Exception
- Throws:
OxalisAs4Exception
-
-