public class HttpRequestReceivedEvent extends ApplicationEvent
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.source
Constructor and Description |
---|
HttpRequestReceivedEvent(HttpRequest<?> request) |
Modifier and Type | Method and Description |
---|---|
HttpRequest<?> |
getSource() |
toString
public HttpRequestReceivedEvent(@NonNull HttpRequest<?> request)
request
- The request. Never null.@NonNull public HttpRequest<?> getSource()
getSource
in class EventObject