| Modifier and Type | Method and Description |
|---|---|
| public ZonedDateTime | Returns: zoned date-timeReturns the date-time of the moment when the request was received. |
| public ConnectionInformation | Returns: the connection infoReturns the information about the current connection. |
| public long | |
| public Map | |
| public long | Returns: the request/response duration in millisecondsReturns the request/response duration. |
| public CharSequence | |
| public String | Returns: the protocol versionReturns the protocol version, (e.g. "HTTP/1.1" or "HTTP/2.0"). |
| public SocketAddress | Returns: the peer's address
Deprecated
as of 1.0.26. Use
Returns the address of the remote peer or ConnectionInformation#connectionRemoteAddress()
null in case of Unix Domain Sockets.
|
| public CharSequence | Returns: the value of the request headerthe request header name name)Returns the value of a request header with the specified name
or |
| public CharSequence | Returns: the value of the response headerthe response header name name)Returns the value of a response header with the specified name
or |
| public CharSequence | |
| public CharSequence | |
| public String | |
| public String | Returns: the date-time string with a time-zone
Deprecated
as of 1.0.6. Prefer using
Returns the date-time string with a time-zone, (e.g. "30/Oct/2020:03:52:11 +0000").
accessDateTime() This method will be removed in version 1.2.0.
|
| accessDateTime | back to summary |
|---|---|
| public ZonedDateTime accessDateTime() Returns the date-time of the moment when the request was received.
| |
| connectionInformation | back to summary |
|---|---|
| public ConnectionInformation connectionInformation() Returns the information about the current connection. Note that the
| |
| contentLength | back to summary |
|---|---|
| public long contentLength() Returns the response content length.
| |
| cookies | back to summary |
|---|---|
| public Map Returns resolved HTTP cookies. Warning Be cautious with cookies information and what kind of sensitive data is written to the logs. By default, no cookies information is written to the access log.
| |
| duration | back to summary |
|---|---|
| public long duration() Returns the request/response duration.
| |
| method | back to summary |
|---|---|
| public CharSequence method() Returns the name of this method, (e.g. "GET").
| |
| protocol | back to summary |
|---|---|
| public String protocol() Returns the protocol version, (e.g. "HTTP/1.1" or "HTTP/2.0"). | |
| remoteAddress | back to summary |
|---|---|
| public SocketAddress remoteAddress()
Deprecated as of 1.0.26. Use Returns the address of the remote peer or
| |
| requestHeader | back to summary |
|---|---|
| public CharSequence requestHeader(CharSequence name) Returns the value of a request header with the specified name
or
| |
| responseHeader | back to summary |
|---|---|
| public CharSequence responseHeader(CharSequence name) Returns the value of a response header with the specified name
or
| |
| status | back to summary |
|---|---|
| public CharSequence status() Returns the response status, (e.g. 200).
| |
| uri | back to summary |
|---|---|
| public CharSequence uri() Returns the requested URI, (e.g. "/hello").
| |
| user | back to summary |
|---|---|
| public String user() Returns the user identifier. | |
| zonedDateTime | back to summary |
|---|---|
| public String zonedDateTime()
Deprecated as of 1.0.6. Prefer using Returns the date-time string with a time-zone, (e.g. "30/Oct/2020:03:52:11 +0000").
| |