public abstract class AbstractServiceRequestEvent extends AbstractServiceEvent implements ServiceRequestEvent
ServiceEvent.Typedata, origin| Constructor and Description |
|---|
AbstractServiceRequestEvent(java.lang.String origin,
java.lang.String service,
java.lang.String operation)
Create a new AbstractServiceRequestEvent
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getRequest()
Get the request object
|
AbstractServiceRequestEvent |
withRequest(java.lang.Object request)
Add a request object to this event
|
getOperation, getService, getServiceEventId, getTypegetData, getOrigin, withDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOperation, getService, getServiceEventId, getTypepublic AbstractServiceRequestEvent(java.lang.String origin,
java.lang.String service,
java.lang.String operation)
origin - the origin of the eventservice - the service name e.g. 'WeatherService'operation - the operation name e.g. 'getWeather'public AbstractServiceRequestEvent withRequest(java.lang.Object request)
request - the request objectpublic java.lang.Object getRequest()
getRequest in interface ServiceRequestEvent