public class ServiceDownstreamResponseEvent extends AbstractServiceResponseEvent
ServiceEvent.Typedata, origin| Constructor and Description |
|---|
ServiceDownstreamResponseEvent(java.lang.String origin,
java.lang.String service,
java.lang.String operation,
ServiceRequestEvent requestEvent)
Construct a ServiceDownstreamRequestEvent
|
| Modifier and Type | Method and Description |
|---|---|
ServiceEvent.Type |
getType()
Get the type of this ServiceEvent
|
getRequest, getResponse, getThrown, withResponse, withThrowngetOperation, getServicegetData, getOrigin, withDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOperation, getServicepublic ServiceDownstreamResponseEvent(java.lang.String origin,
java.lang.String service,
java.lang.String operation,
ServiceRequestEvent requestEvent)
origin - the origin of the downstream call e.g. 'Web' or 'gRPC'service - the service name e.g. 'WeatherService'operation - the operation name e.g. 'getWeather'requestEvent - the associated request eventpublic ServiceEvent.Type getType()
getType in interface ServiceEventgetType in class AbstractServiceEvent