Package com.helger.phase4.springboot.spi
Interface CustomPeppolIncomingViaInterfaceSPI.IPeppolIncomingHandler
- Enclosing class:
- CustomPeppolIncomingViaInterfaceSPI
public static interface CustomPeppolIncomingViaInterfaceSPI.IPeppolIncomingHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleIncomingSBD(com.helger.phase4.messaging.IAS4IncomingMessageMetadata aMessageMetadata, com.helger.commons.http.HttpHeaderMap aHeaders, com.helger.phase4.ebms3header.Ebms3UserMessage aUserMessage, byte[] aSBDBytes, org.unece.cefact.namespaces.sbdh.StandardBusinessDocument aSBD, com.helger.peppol.sbdh.PeppolSBDHDocument aPeppolSBD, com.helger.phase4.servlet.IAS4MessageState aState) Handle the provided incoming StandardBusinessDocument
-
Method Details
-
handleIncomingSBD
void handleIncomingSBD(@Nonnull com.helger.phase4.messaging.IAS4IncomingMessageMetadata aMessageMetadata, @Nonnull com.helger.commons.http.HttpHeaderMap aHeaders, @Nonnull com.helger.phase4.ebms3header.Ebms3UserMessage aUserMessage, @Nonnull byte[] aSBDBytes, @Nonnull org.unece.cefact.namespaces.sbdh.StandardBusinessDocument aSBD, @Nonnull com.helger.peppol.sbdh.PeppolSBDHDocument aPeppolSBD, @Nonnull com.helger.phase4.servlet.IAS4MessageState aState) throws Exception Handle the provided incoming StandardBusinessDocument- Parameters:
aMessageMetadata- Message metadata. Includes data when and from whom it was received. Nevernull.aHeaders- The (HTTP) headers of the incoming request. Nevernull.aUserMessage- The received EBMS user message. Nevernull.aSBDBytes- The raw SBD bytes. Nevernull.aSBD- The incoming parsed Standard Business Document that is nevernull. This is the pre-parsed SBD bytes.aPeppolSBD- The pre-parsed Peppol Standard Business Document. Nevernull.aState- The message state. Can e.g. be used to retrieve information about the certificate found in the message. Nevernull.- Throws:
Exception- In case it cannot be processed.
-