Package io.micronaut.http.context.event
Class HttpRequestTerminatedEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.http.context.event.HttpRequestTerminatedEvent
- All Implemented Interfaces:
Serializable
public class HttpRequestTerminatedEvent
extends io.micronaut.context.event.ApplicationEvent
An event fired when an
HttpRequest is finalized by the server. Note that the event is fired asynchronously and
consumers of the event should generally not perform I/O, instead this designed for tracing of headers, URI etc.- Since:
- 1.2.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
HttpRequestTerminatedEvent
- Parameters:
request- The request. Never null.
-
-
Method Details
-
getSource
- Overrides:
getSourcein classEventObject
-