Interface ServiceResponseEvent
-
- All Superinterfaces:
Event,ServiceEvent
- All Known Implementing Classes:
AbstractServiceResponseEvent,HttpServiceDownstreamResponseEvent,ServiceActivityResponseEvent,ServiceDownstreamResponseEvent
public interface ServiceResponseEvent extends ServiceEvent
Specialization of ServiceEvent for service requests. Requests and responses are dispatched separately, before and after the actual invocation of the intercepted behavior occurs
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface software.amazon.disco.agent.event.ServiceEvent
ServiceEvent.Type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceRequestEventgetRequest()Get the associated request eventjava.lang.ObjectgetResponse()Get the response objectjava.lang.ThrowablegetThrown()Get the thrown exception-
Methods inherited from interface software.amazon.disco.agent.event.ServiceEvent
getOperation, getService, getType
-
-
-
-
Method Detail
-
getRequest
ServiceRequestEvent getRequest()
Get the associated request event- Returns:
- the request object
-
getResponse
java.lang.Object getResponse()
Get the response object- Returns:
- the response object
-
getThrown
java.lang.Throwable getThrown()
Get the thrown exception- Returns:
- the thrown exception
-
-