Interface CustomPeppolIncomingViaInterfaceSPI.IPeppolIncomingHandler

Enclosing class:
CustomPeppolIncomingViaInterfaceSPI

public static interface CustomPeppolIncomingViaInterfaceSPI.IPeppolIncomingHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleIncomingSBD(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. Never null.
      aHeaders - The (HTTP) headers of the incoming request. Never null.
      aUserMessage - The received EBMS user message. Never null.
      aSBDBytes - The raw SBD bytes. Never null.
      aSBD - The incoming parsed Standard Business Document that is never null. This is the pre-parsed SBD bytes.
      aPeppolSBD - The pre-parsed Peppol Standard Business Document. Never null.
      aState - The message state. Can e.g. be used to retrieve information about the certificate found in the message. Never null.
      Throws:
      Exception - In case it cannot be processed.