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