Package io.helidon.webserver.accesslog
Class TimestampLogEntry
java.lang.Object
io.helidon.webserver.accesslog.AbstractLogEntry
io.helidon.webserver.accesslog.TimestampLogEntry
- All Implemented Interfaces:
AccessLogEntry
Access log entry for timestamp.
Default time format is "\'[\'dd/MMM/YYYY:HH:mm:ss ZZZ\']\'".
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class io.helidon.webserver.accesslog.AbstractLogEntry
DEFAULT_MAX_LENGTHFields inherited from interface io.helidon.webserver.accesslog.AccessLogEntry
NOT_AVAILABLE -
Method Summary
Modifier and TypeMethodDescriptionstatic TimestampLogEntry.Builderbuilder()Create a new fluent API builder.static TimestampLogEntrycreate()Create a new Timestamp log entry.doApply(AccessLogContext context) Apply the "raw" log entry.Methods inherited from class io.helidon.webserver.accesslog.AbstractLogEntry
apply, maxLength, pad, sanitize
-
Method Details
-
create
Create a new Timestamp log entry.- Returns:
- a new access log entry for Timestamp
- See Also:
-
builder
Create a new fluent API builder.- Returns:
- a new builder instance
-
doApply
Description copied from class:AbstractLogEntryApply the "raw" log entry. The result will go through common formatting, such as padding if configured.- Specified by:
doApplyin classAbstractLogEntry- Parameters:
context- context with access to information useful for access log entries- Returns:
- log entry
- See Also:
-