java.lang.Object
io.helidon.webserver.accesslog.UserIdLogEntry
- All Implemented Interfaces:
AccessLogEntry
,Handler
,BiConsumer<ServerRequest,
ServerResponse>
Access log entry for user id. This always returns "-".
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webserver.Handler
Handler.EntityHandler<T>
-
Field Summary
Fields inherited from interface io.helidon.webserver.accesslog.AccessLogEntry
NOT_AVAILABLE
-
Method Summary
Modifier and TypeMethodDescriptionapply
(AccessLogContext context) This method is called once the response is fully processed.static UserIdLogEntry
create()
Create a new access log entry for user id.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.webserver.accesslog.AccessLogEntry
accept
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Method Details
-
create
Create a new access log entry for user id.- Returns:
- an entry that always considers user id to be undefined
- See Also:
-
apply
Description copied from interface:AccessLogEntry
This method is called once the response is fully processed. TheAccessLogContext.serverResponse()
will return a completed response.- Specified by:
apply
in interfaceAccessLogEntry
- Parameters:
context
- context with access to information useful for access log entries- Returns:
- string representation of a log entry (such as a formatted date time, response time etc.)
-