public class ServiceDownstreamRequestEvent extends AbstractServiceRequestEvent
ServiceEvent.Typedata, origin| Constructor and Description |
|---|
ServiceDownstreamRequestEvent(java.lang.String origin,
java.lang.String service,
java.lang.String operation)
Construct a ServiceDownstreamRequestEvent
|
| Modifier and Type | Method and Description |
|---|---|
ServiceEvent.Type |
getType()
Get the type of this ServiceEvent
|
getRequest, withRequestgetOperation, getService, getServiceEventIdgetData, getOrigin, withDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOperation, getService, getServiceEventIdpublic ServiceDownstreamRequestEvent(java.lang.String origin,
java.lang.String service,
java.lang.String operation)
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'public ServiceEvent.Type getType()
getType in interface ServiceEventgetType in class AbstractServiceEvent