|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.rx.testing.PacketFilter
public abstract class PacketFilter
| Field Summary | |
|---|---|
protected static long |
UNSPECIFIED
|
| Constructor Summary | |
|---|---|
protected |
PacketFilter()
|
| Method Summary | |
|---|---|
abstract Packet |
filterClientRequest(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 Packet |
filterServerResponse(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(Packet packet)
Retrieves RM sequence message identifier form the message stored in the packet. |
protected RmRuntimeVersion |
getRmVersion()
Provides information on RM version configured on the current web service port. |
protected String |
getSequenceId(Packet packet)
Retrieves RM sequence identifier form the message stored in the packet. |
protected boolean |
isRmProtocolMessage(Packet 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 Packet filterClientRequest(Packet request)
throws Exception
request - original request packet to be filtered
Exception - any exception that may occur during processing.
public abstract Packet filterServerResponse(Packet response)
throws Exception
response - original response packet to be filtered
Exception - any exception that may occur during processing.protected final String getSequenceId(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(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 RmRuntimeVersion getRmVersion()
null if RM is not enabled on the port.
null if RM is not enabled.protected final boolean isRmProtocolMessage(Packet packet)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||