public class ServiceDownstreamCancellationEvent extends AbstractServiceCancellationEvent
ServiceEvent.Typedata, origin| Constructor and Description |
|---|
ServiceDownstreamCancellationEvent(java.lang.String origin,
java.lang.String service,
java.lang.String operation,
ServiceDownstreamRequestEvent requestEvent)
Constructor for a ServiceDownstreamCancellationEvent
|
| Modifier and Type | Method and Description |
|---|---|
ServiceEvent.Type |
getType()
Get the type of this ServiceEvent
|
getRequest, withRequestgetOperation, getService, getServiceEventIdgetData, getOrigin, withDatapublic ServiceDownstreamCancellationEvent(java.lang.String origin,
java.lang.String service,
java.lang.String operation,
ServiceDownstreamRequestEvent requestEvent)
origin - the origin of this event e.g. 'Web' or 'gRPC'service - the service name e.g. WeatherServiceoperation - the operation name e.g getWeatherrequestEvent - the associated cancelled request Eventpublic ServiceEvent.Type getType()
getType in interface ServiceEventgetType in class AbstractServiceEvent