Package io.micronaut.http.context.event
Class HttpRequestReceivedEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.http.context.event.HttpRequestReceivedEvent
- All Implemented Interfaces:
Serializable
An event fired when an
HttpRequest
is received by the server. Not that the event is fired in a
non-blocking manner and access to the request body is not provided. Consumers can use this event to
trace the URI, headers and so on but should not perform I/O.- Since:
- 1.2.0
- Author:
- graemerocher
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
HttpRequestReceivedEvent
- Parameters:
request
- The request. Never null.
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-