Interface ProtocolResponseEvent
-
- All Superinterfaces:
Event
- All Known Subinterfaces:
HttpNetworkProtocolResponseEvent,NetworkProtocolResponseEvent
- All Known Implementing Classes:
AbstractNetworkProtocolResponseEvent,AbstractProtocolResponseEvent,HttpServletNetworkResponseEvent
public interface ProtocolResponseEvent extends Event
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProtocolRequestEventgetProtocolRequestEvent()java.lang.ObjectgetResponse()Get the protocol-level response objectjava.lang.StringgetStatusIndicator()Returns the status indicator of this response event.
-
-
-
Method Detail
-
getProtocolRequestEvent
ProtocolRequestEvent getProtocolRequestEvent()
-
getResponse
java.lang.Object getResponse()
Get the protocol-level response object- Returns:
- the request object
-
getStatusIndicator
java.lang.String getStatusIndicator()
Returns the status indicator of this response event.- Returns:
- String representation of the status indicator
-
-