Class AbstractWSTXHandler

java.lang.Object
com.arjuna.mw.wst11.client.AbstractWSTXHandler
All Implemented Interfaces:
jakarta.xml.ws.handler.Handler<jakarta.xml.ws.handler.soap.SOAPMessageContext>, jakarta.xml.ws.handler.soap.SOAPHandler<jakarta.xml.ws.handler.soap.SOAPMessageContext>
Direct Known Subclasses:
DisabledWSTXHandler, EnabledWSTXHandler

public abstract class AbstractWSTXHandler extends Object implements jakarta.xml.ws.handler.soap.SOAPHandler<jakarta.xml.ws.handler.soap.SOAPMessageContext>
Author:
Gytis Trikleris
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    close(jakarta.xml.ws.handler.MessageContext context)
    Delegates to the JaxWSHeaderContextProcessor.
    Delegates to the JaxWSHeaderContextProcessor.
    boolean
    handleFault(jakarta.xml.ws.handler.soap.SOAPMessageContext context)
    Delegates fault handling to the JaxWSHeaderContextProcessor if either WSTXFeature or default context propagation is enabled.
    boolean
    handleMessage(jakarta.xml.ws.handler.soap.SOAPMessageContext context)
    Delegates message handling to the JaxWSHeaderContextProcessor if either WSTXFeature or default context propagation is enabled.
    protected abstract boolean
    isContextPropagationEnabled(jakarta.xml.ws.handler.soap.SOAPMessageContext context)
    Checks if WSTXHandler should propagate WS-AT/WS-BA context.

    Methods inherited from class java.lang.Object

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

    • AbstractWSTXHandler

      public AbstractWSTXHandler()
  • Method Details

    • handleMessage

      public boolean handleMessage(jakarta.xml.ws.handler.soap.SOAPMessageContext context)
      Delegates message handling to the JaxWSHeaderContextProcessor if either WSTXFeature or default context propagation is enabled.
      Specified by:
      handleMessage in interface jakarta.xml.ws.handler.Handler<jakarta.xml.ws.handler.soap.SOAPMessageContext>
      Parameters:
      context -
      Returns:
      true
      See Also:
    • handleFault

      public boolean handleFault(jakarta.xml.ws.handler.soap.SOAPMessageContext context)
      Delegates fault handling to the JaxWSHeaderContextProcessor if either WSTXFeature or default context propagation is enabled.
      Specified by:
      handleFault in interface jakarta.xml.ws.handler.Handler<jakarta.xml.ws.handler.soap.SOAPMessageContext>
      Parameters:
      context -
      Returns:
      true
      See Also:
    • close

      public void close(jakarta.xml.ws.handler.MessageContext context)
      Delegates to the JaxWSHeaderContextProcessor.
      Specified by:
      close in interface jakarta.xml.ws.handler.Handler<jakarta.xml.ws.handler.soap.SOAPMessageContext>
      Parameters:
      context -
      See Also:
    • getHeaders

      public Set<QName> getHeaders()
      Delegates to the JaxWSHeaderContextProcessor.
      Specified by:
      getHeaders in interface jakarta.xml.ws.handler.soap.SOAPHandler<jakarta.xml.ws.handler.soap.SOAPMessageContext>
      See Also:
    • isContextPropagationEnabled

      protected abstract boolean isContextPropagationEnabled(jakarta.xml.ws.handler.soap.SOAPMessageContext context)
      Checks if WSTXHandler should propagate WS-AT/WS-BA context.
      Parameters:
      context -
      Returns:
      true|false