|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.rm.runtime.testing.PacketFilter
public abstract class PacketFilter
Field Summary | |
---|---|
protected static long |
UNSPECIFIED
|
Constructor Summary | |
---|---|
protected |
PacketFilter()
|
Method Summary | |
---|---|
abstract com.sun.xml.ws.api.message.Packet |
filterClientRequest(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. |
abstract com.sun.xml.ws.api.message.Packet |
filterServerResponse(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. |
protected long |
getMessageId(com.sun.xml.ws.api.message.Packet packet)
Retrieves RM sequence message identifier form the message stored in the packet. |
protected RmVersion |
getRmVersion()
Provides information on RM version configured on the current web service port. |
protected java.lang.String |
getSequenceId(com.sun.xml.ws.api.message.Packet packet)
Retrieves RM sequence identifier form the message stored in the packet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final long UNSPECIFIED
Constructor Detail |
---|
protected PacketFilter()
Method Detail |
---|
public abstract com.sun.xml.ws.api.message.Packet filterClientRequest(com.sun.xml.ws.api.message.Packet request) throws java.lang.Exception
request
- original request packet to be filtered
java.lang.Exception
- any exception that may occur during processing.public abstract com.sun.xml.ws.api.message.Packet filterServerResponse(com.sun.xml.ws.api.message.Packet response) throws java.lang.Exception
response
- original response packet to be filtered
java.lang.Exception
- any exception that may occur during processing.protected final java.lang.String getSequenceId(com.sun.xml.ws.api.message.Packet packet)
packet
- packet to be checked for the RM sequence identifier
null
if there is no RM sequence identifier
associated with this packet.protected final long getMessageId(com.sun.xml.ws.api.message.Packet packet)
packet
- packet to be checked for the RM message identifier
UNSPECIFIED
if there is no RM message identifier
associated with this packet.protected final RmVersion getRmVersion()
null
if RM is not enabled on the port.
null
if RM is not enabled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |