Package io.helidon.webserver.accesslog
Class TimeTakenLogEntry.Builder
java.lang.Object
io.helidon.webserver.accesslog.AbstractLogEntry.Builder<TimeTakenLogEntry,TimeTakenLogEntry.Builder>
io.helidon.webserver.accesslog.TimeTakenLogEntry.Builder
- All Implemented Interfaces:
Builder<TimeTakenLogEntry.Builder,
,TimeTakenLogEntry> Supplier<TimeTakenLogEntry>
- Enclosing class:
TimeTakenLogEntry
public static final class TimeTakenLogEntry.Builder
extends AbstractLogEntry.Builder<TimeTakenLogEntry,TimeTakenLogEntry.Builder>
A fluent API builder for
TimeTakenLogEntry
.-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Returns:
- instance of the built type
-
unit
Configure the time unit to use. Defaults toTimeUnit.MICROSECONDS
.- Parameters:
unit
- unit to use when writing time taken to Access log- Returns:
- updated builder instance
-