Class UserIdLogEntry
java.lang.Object
io.helidon.reactive.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.reactive.webserver.Handler
Handler.EntityHandler<T> -
Field Summary
Fields inherited from interface io.helidon.reactive.webserver.accesslog.AccessLogEntry
NOT_AVAILABLE -
Method Summary
Modifier and TypeMethodDescriptionapply(AccessLogContext context) This method is called once the response is fully processed.static UserIdLogEntrycreate()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, waitMethods inherited from interface io.helidon.reactive.webserver.accesslog.AccessLogEntry
acceptMethods 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:AccessLogEntryThis method is called once the response is fully processed. TheAccessLogContext.serverResponse()will return a completed response.- Specified by:
applyin 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.)
-