Package io.helidon.webserver.accesslog
Interface AccessLogContext
-
public interface AccessLogContextContext of the access log processing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ZonedDateTimerequestDateTime()Time when the request started processing.longrequestNanoTime()Time inSystem.nanoTime()when the request processing started.ZonedDateTimeresponseDateTime()Time when the response finished processing.longresponseNanoTime()Time inSystem.nanoTime()when the response processing finished (last byte written).ServerRequestserverRequest()The server request.ServerResponseserverResponse()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
-
-