Package com.sun.xml.ws.rx.mc.dev
Interface ProtocolMessageHandler
-
public interface ProtocolMessageHandlerImplementations of this interface that are registered withcom.sun.xml.ws.rx.mc.runtime.WsMcResponseHandler#processResponse(Packet)are invoked to handle protocol response messages that don't correlate with any client request.- Author:
- Marek Potociar
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<String>getSuportedWsaActions()Provides information about all WS-Addressing actions that this handler understands and can process.voidprocessProtocolMessage(com.sun.xml.ws.api.message.Packet protocolMessage)This method is invoked fromcom.sun.xml.ws.rx.mc.runtime.WsMcResponseHandler#processResponse(Packet)in case it is not possible to resolve WS-ARelatesToheader from the response message to an existing suspended fiber.
-
-
-
Method Detail
-
getSuportedWsaActions
@NotNull Collection<String> getSuportedWsaActions()
Provides information about all WS-Addressing actions that this handler understands and can process.- Returns:
- collection of all WS-Addressing actions that this handler understands and can process.
Must not return
null.
-
processProtocolMessage
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-ARelatesToheader 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 registeredProtocolMessageHandlers is consulted.In case the WS-Addressing
wsa:Actionheader matches one of the supported WS-Addressing actions returned fromgetSuportedWsaActions()method, theprocessProtocolMessage(com.sun.xml.ws.api.message.Packet)is invoked onProtocolMessageHandlerinstance to process the protocol message.- Parameters:
protocolMessage- a protocol message to be handled
-
-