Interface NetworkProtocolRequestEvent
-
- All Superinterfaces:
Event,NetworkProtocolEvent,ProtocolEvent,ProtocolRequestEvent
- All Known Subinterfaces:
HttpNetworkProtocolRequestEvent
- All Known Implementing Classes:
AbstractNetworkProtocolRequestEvent,HttpServletNetworkRequestEvent
public interface NetworkProtocolRequestEvent extends NetworkProtocolEvent, ProtocolRequestEvent
Specialization of NetworkProtocolEvent for network requests. Requests and responses are dispatched separately, before and after the actual invocation of the intercepted behavior occurs. At the network-level, the requester can be seen as the requester to a network server, while the response is the processed result of the request.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface software.amazon.disco.agent.event.NetworkProtocolEvent
NetworkProtocolEvent.NetworkType
-
Nested classes/interfaces inherited from interface software.amazon.disco.agent.event.ProtocolEvent
ProtocolEvent.Type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDestinationIP()Get the destination IP address.intgetDestinationPort()Get the socket-level destination port; the port that the receiving end is using to retrieve data;.java.lang.StringgetSourceIP()Get the source IP address.intgetSourcePort()Get the socket-level source port; the port that the caller used to send data.-
Methods inherited from interface software.amazon.disco.agent.event.NetworkProtocolEvent
getNetworkType
-
Methods inherited from interface software.amazon.disco.agent.event.ProtocolEvent
getHeaderData, getType
-
Methods inherited from interface software.amazon.disco.agent.event.ProtocolRequestEvent
getDestinationAddress, getRequest, getSourceAddress
-
-
-
-
Method Detail
-
getSourcePort
int getSourcePort()
Get the socket-level source port; the port that the caller used to send data.- Returns:
- The source port for this network request
-
getDestinationPort
int getDestinationPort()
Get the socket-level destination port; the port that the receiving end is using to retrieve data;.- Returns:
- The destination port for this network request.
-
getSourceIP
java.lang.String getSourceIP()
Get the source IP address.- Returns:
- The source IP address
-
getDestinationIP
java.lang.String getDestinationIP()
Get the destination IP address.- Returns:
- The destination IP address
-
-