public interface ProtocolMessageHandler
com.sun.xml.ws.rx.mc.runtime.WsMcResponseHandler#processResponse(Packet)
are invoked to handle protocol response messages that don't correlate with any
client request.| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getSuportedWsaActions()
Provides information about all WS-Addressing actions that this handler understands and can process.
|
void |
processProtocolMessage(com.sun.xml.ws.api.message.Packet protocolMessage)
This method is invoked from
com.sun.xml.ws.rx.mc.runtime.WsMcResponseHandler#processResponse(Packet)
in case it is not possible to resolve WS-A RelatesTo header from the response message to an existing
suspended fiber. |
@NotNull Collection<String> getSuportedWsaActions()
null.void processProtocolMessage(com.sun.xml.ws.api.message.Packet protocolMessage)
This method is invoked from com.sun.xml.ws.rx.mc.runtime.WsMcResponseHandler#processResponse(Packet)
in case it is not possible to resolve WS-A RelatesTo header from the response message to an existing
suspended fiber. In such case it is assumed that the response may contain some general WS-* protocol message
and collection of registered ProtocolMessageHandlers is consulted.
In case the WS-Addressing wsa:Action header matches one of the supported WS-Addressing actions returned
from getSuportedWsaActions() method, the processProtocolMessage(com.sun.xml.ws.api.message.Packet)
is invoked on ProtocolMessageHandler instance to process the protocol message.
protocolMessage - a protocol message to be handledCopyright © 2005–2017 Oracle Corporation. All rights reserved.