Package com.helger.phase4.incoming.soap
Interface ISoapHeaderElementProcessor
- All Known Implementing Classes:
SoapHeaderElementProcessorExtractEbms3Messaging,SoapHeaderElementProcessorWSS4J
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Base interface for SOAP header processors that are invoked for incoming
messages.
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptioncom.helger.commons.state.ESuccessprocessHeaderElement(Document aSoapDoc, Element aHeaderElement, com.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> aAttachments, AS4IncomingMessageState aIncomingState, com.helger.commons.collection.impl.ICommonsList<Ebms3Error> aProcessingErrorMessagesTarget) Process the passed header element.
-
Method Details
-
processHeaderElement
@Nonnull com.helger.commons.state.ESuccess processHeaderElement(@Nonnull Document aSoapDoc, @Nonnull Element aHeaderElement, @Nonnull com.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> aAttachments, @Nonnull AS4IncomingMessageState aIncomingState, @Nonnull com.helger.commons.collection.impl.ICommonsList<Ebms3Error> aProcessingErrorMessagesTarget) Process the passed header element.- Parameters:
aSoapDoc- The complete SOAP document (logically no MIME parts are contained). Nevernull.aHeaderElement- The DOM node with the header element. Nevernull.aAttachments- Existing extracted attachments. Nevernullbut maybe empty.aIncomingState- The current processing state (mutable implementation version needed). Nevernull.aProcessingErrorMessagesTarget- The error list to be filled in case there are processing errors. Nevernull. The list is always empty initially.- Returns:
- Never
null. IfESuccess.FAILUREthan the header is treated as "not handled".
-