T - the payload type of the eventpublic class PayloadApplicationEvent<T> extends ApplicationEvent
ApplicationEvent that carries an arbitrary payload.
Mainly intended for internal use within the framework.
source| Constructor and Description |
|---|
PayloadApplicationEvent(Object source,
T payload)
Create a new PayloadApplicationEvent.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getPayload()
Return the payload of the event.
|
getTimestampgetSource, toStringpublic T getPayload()