Package io.helidon.webserver.accesslog
Interface AccessLogContext
-
public interface AccessLogContext
Context of the access log processing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ZonedDateTime
requestDateTime()
Time when the request started processing.long
requestNanoTime()
Time inSystem.nanoTime()
when the request processing started.ZonedDateTime
responseDateTime()
Time when the response finished processing.long
responseNanoTime()
Time inSystem.nanoTime()
when the response processing finished (last byte written).ServerRequest
serverRequest()
The server request.ServerResponse
serverResponse()
The server response, after data was sent.
-
-
-
Method Detail
-
requestNanoTime
long requestNanoTime()
Time inSystem.nanoTime()
when the request processing started.- Returns:
- time in nanoseconds
-
responseNanoTime
long responseNanoTime()
Time inSystem.nanoTime()
when the response processing finished (last byte written).- Returns:
- time in nanoseconds
-
requestDateTime
ZonedDateTime requestDateTime()
Time when the request started processing.- Returns:
- time of the request
-
responseDateTime
ZonedDateTime responseDateTime()
Time when the response finished processing.- Returns:
- time of the response
-
serverRequest
ServerRequest serverRequest()
The server request.- Returns:
- server request
-
serverResponse
ServerResponse serverResponse()
The server response, after data was sent.- Returns:
- server response
-
-