Class CustomPeppolIncomingSBDHandlerSPI

java.lang.Object
com.helger.phase4.springboot.spi.CustomPeppolIncomingSBDHandlerSPI
All Implemented Interfaces:
com.helger.phase4.peppol.servlet.IPhase4PeppolIncomingSBDHandlerSPI

@IsSPIImplementation public class CustomPeppolIncomingSBDHandlerSPI extends Object implements com.helger.phase4.peppol.servlet.IPhase4PeppolIncomingSBDHandlerSPI
This is one way of handling incoming messages: creating a domain object and passing it to a Spring Service object
Author:
Philip Helger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CustomPeppolIncomingSBDHandlerSPI

      public CustomPeppolIncomingSBDHandlerSPI()
  • Method Details

    • handleIncomingSBD

      public 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
      Specified by:
      handleIncomingSBD in interface com.helger.phase4.peppol.servlet.IPhase4PeppolIncomingSBDHandlerSPI
      Throws:
      Exception
    • exceptionTranslatesToAS4Error

      public boolean exceptionTranslatesToAS4Error()
      Specified by:
      exceptionTranslatesToAS4Error in interface com.helger.phase4.peppol.servlet.IPhase4PeppolIncomingSBDHandlerSPI