public interface ErrorLogArgProvider
Modifier and Type | Method and Description |
---|---|
Throwable |
cause()
Returns the exception that occurred.
|
ZonedDateTime |
errorDateTime()
Returns the date-time of the moment when the exception occurred.
|
HttpServerInfos |
httpServerInfos()
Returns information about the HTTP server-side connection information.
|
SocketAddress |
remoteAddress()
Returns the address of the remote peer or possibly
null in case of Unix Domain Sockets. |
ZonedDateTime errorDateTime()
@Nullable SocketAddress remoteAddress()
null
in case of Unix Domain Sockets.@Nullable HttpServerInfos httpServerInfos()
Note that the ConnectionInformation.remoteAddress()
will return the forwarded
remote client address if the server is configured in forwarded mode.
HttpServer.forwarded(BiFunction)
Throwable cause()