Package com.arjuna.mw.wst11.client
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
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 interfacejakarta.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 interfacejakarta.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 interfacejakarta.xml.ws.handler.Handler<jakarta.xml.ws.handler.soap.SOAPMessageContext>
- Parameters:
context
-- See Also:
-
getHeaders
Delegates to the JaxWSHeaderContextProcessor.- Specified by:
getHeaders
in interfacejakarta.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
-