Class RMSoapOutInterceptor

All Implemented Interfaces:
SoapInterceptor, Interceptor<SoapMessage>, PhaseInterceptor<SoapMessage>

public class RMSoapOutInterceptor extends AbstractSoapInterceptor
Protocol Handler responsible for {en|de}coding the RM Properties for {outgo|incom}ing messages.
  • Field Details

    • jaxbContext

      protected static jakarta.xml.bind.JAXBContext jaxbContext
  • Constructor Details

    • RMSoapOutInterceptor

      public RMSoapOutInterceptor()
      Constructor.
  • Method Details

    • getUnderstoodHeaders

      public Set<QName> getUnderstoodHeaders()
      Specified by:
      getUnderstoodHeaders in interface SoapInterceptor
      Overrides:
      getUnderstoodHeaders in class AbstractSoapInterceptor
      Returns:
      the set of SOAP headers understood by this handler
    • 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
    • encode

      public static void encode(SoapMessage message, RMProperties rmps)
      Encode the current RM properties in protocol-specific headers.
      Parameters:
      message - the SOAP message.
      rmps - the current RM properties.
    • encodeFault

      public static void encodeFault(SoapMessage message, SequenceFault sf)
      Encode the SequenceFault in protocol-specific header.
      Parameters:
      message - the SOAP message.
      sf - the SequenceFault.