Class SAAJInInterceptor.SAAJPreInInterceptor

All Implemented Interfaces:
SoapInterceptor, Interceptor<SoapMessage>, PhaseInterceptor<SoapMessage>
Enclosing class:
SAAJInInterceptor

public static class SAAJInInterceptor.SAAJPreInInterceptor extends AbstractSoapInterceptor
This class sets up the Document in the Message so that the ReadHeadersInterceptor can read directly into the SAAJ document instead of creating a new DOM that we would need to copy into the SAAJ later.
  • Field Details

  • Constructor Details

    • SAAJPreInInterceptor

      public SAAJPreInInterceptor()
  • Method Details

    • handleMessage

      public void handleMessage(SoapMessage message) throws Fault
      Description copied from interface: Interceptor
      Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.
      Throws:
      Fault
    • getFactory

      public jakarta.xml.soap.MessageFactory getFactory(SoapMessage message) throws jakarta.xml.soap.SOAPException
      Throws:
      jakarta.xml.soap.SOAPException