Interface ProtocolRequestEvent
-
- All Superinterfaces:
Event,ProtocolEvent
- All Known Subinterfaces:
HttpNetworkProtocolRequestEvent,NetworkProtocolRequestEvent
- All Known Implementing Classes:
AbstractNetworkProtocolRequestEvent,AbstractProtocolRequestEvent,HttpServletNetworkRequestEvent
public interface ProtocolRequestEvent extends ProtocolEvent
Specialization of ProtocolEvent for protocol requests. Requests and responses are dispatched separately, before and after the actual invocation of the intercepted behavior occurs. At the protocol-level, the requester can be seen as the invoker, and the response is the result of the invocation.
-
-
Nested Class Summary
-
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.StringgetDestinationAddress()Get the destination address; i.e.java.lang.ObjectgetRequest()Get the protocol-level request objectjava.lang.StringgetSourceAddress()Get the source address; i.e.-
Methods inherited from interface software.amazon.disco.agent.event.ProtocolEvent
getHeaderData, getType
-
-
-
-
Method Detail
-
getRequest
java.lang.Object getRequest()
Get the protocol-level request object- Returns:
- the request object
-
getSourceAddress
java.lang.String getSourceAddress()
Get the source address; i.e. the origin that invoked this protocol request.- Returns:
- The source address
-
getDestinationAddress
java.lang.String getDestinationAddress()
Get the destination address; i.e. the receiving end for this request.- Returns:
- The destination address
-
-