Class UserIdLogEntry

java.lang.Object
io.helidon.webserver.accesslog.UserIdLogEntry
All Implemented Interfaces:
AccessLogEntry

public final class UserIdLogEntry extends Object implements AccessLogEntry
Access log entry for user id. This always returns "-".
  • Method Details

    • create

      public static UserIdLogEntry create()
      Create a new access log entry for user id.
      Returns:
      an entry that always considers user id to be undefined
      See Also:
      • AccessLogConfig.BuilderBase.addEntry(AccessLogEntry)
      • UserLogEntry
    • apply

      public String apply(AccessLogContext context)
      Description copied from interface: AccessLogEntry
      This method is called once the response is fully processed. The AccessLogContext.serverResponse() will return a completed response.
      Specified by:
      apply in interface AccessLogEntry
      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.)