Class TimeTakenLogEntry

java.lang.Object
io.helidon.webserver.accesslog.AbstractLogEntry
io.helidon.webserver.accesslog.TimeTakenLogEntry
All Implemented Interfaces:
AccessLogEntry, Handler, BiConsumer<ServerRequest,ServerResponse>

public final class TimeTakenLogEntry extends AbstractLogEntry
Access log entry for time taken.
  • Method Details

    • create

      public static TimeTakenLogEntry create()
      Create a new time taken access log entry measuring in microseconds.
      Returns:
      a new access log entry for time taken
    • builder

      public static TimeTakenLogEntry.Builder builder()
      Create a new fluent API builder.
      Returns:
      a new builder instance
    • doApply

      protected String doApply(AccessLogContext context)
      Description copied from class: AbstractLogEntry
      Apply the "raw" log entry. The result will go through common formatting, such as padding if configured.
      Specified by:
      doApply in class AbstractLogEntry
      Parameters:
      context - context with access to information useful for access log entries
      Returns:
      log entry
      See Also: