Class RmEnabledCheckFilter
- java.lang.Object
-
- com.sun.xml.ws.rx.testing.PacketFilter
-
- com.sun.xml.ws.rx.testing.filters.RmEnabledCheckFilter
-
public final class RmEnabledCheckFilter extends PacketFilter
Filter instance of this class checks if the RM is enabled on the current WS port. If RM is not enabled, invocation of this filter results in aIllegalStateExceptionbeing thrown.- Author:
- Marek Potociar
-
-
Field Summary
-
Fields inherited from class com.sun.xml.ws.rx.testing.PacketFilter
UNSPECIFIED
-
-
Constructor Summary
Constructors Constructor Description RmEnabledCheckFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sun.xml.ws.api.message.PacketfilterClientRequest(com.sun.xml.ws.api.message.Packet request)Method is called during the client-side request packet processing, which means that it is called BEFORE the request is sent to the service.com.sun.xml.ws.api.message.PacketfilterServerResponse(com.sun.xml.ws.api.message.Packet response)Method is called during the server-side response packet processing, which means that it is called BEFORE the response is sent to the client.-
Methods inherited from class com.sun.xml.ws.rx.testing.PacketFilter
getMessageId, getRmVersion, getSequenceId, isRmProtocolMessage
-
-
-
-
Method Detail
-
filterClientRequest
public com.sun.xml.ws.api.message.Packet filterClientRequest(com.sun.xml.ws.api.message.Packet request) throws ExceptionDescription copied from class:PacketFilterMethod is called during the client-side request packet processing, which means that it is called BEFORE the request is sent to the service.- Specified by:
filterClientRequestin classPacketFilter- Parameters:
request- original request packet to be filtered- Returns:
- filtered packet
- Throws:
Exception- any exception that may occur during processing.
-
filterServerResponse
public com.sun.xml.ws.api.message.Packet filterServerResponse(com.sun.xml.ws.api.message.Packet response) throws ExceptionDescription copied from class:PacketFilterMethod is called during the server-side response packet processing, which means that it is called BEFORE the response is sent to the client.- Specified by:
filterServerResponsein classPacketFilter- Parameters:
response- original response packet to be filtered- Returns:
- filtered packet
- Throws:
Exception- any exception that may occur during processing.
-
-