Package io.helidon.webserver.accesslog
Interface AccessLogContext
public interface AccessLogContext
Context of the access log processing.
-
Method Summary
Modifier and TypeMethodDescriptionTime when the request started processing.long
Time inSystem.nanoTime()
when the request processing started.Time when the response finished processing.long
Time inSystem.nanoTime()
when the response processing finished (last byte written).The server request.The server response, after data was sent.
-
Method Details
-
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
RoutingRequest serverRequest()The server request.- Returns:
- server request
-
serverResponse
RoutingResponse serverResponse()The server response, after data was sent.- Returns:
- server response
-