Package io.helidon.webserver.accesslog
Class TimestampLogEntry
- java.lang.Object
- 
- io.helidon.webserver.accesslog.AbstractLogEntry
- 
- io.helidon.webserver.accesslog.TimestampLogEntry
 
 
- 
- All Implemented Interfaces:
- AccessLogEntry,- Handler,- BiConsumer<ServerRequest,ServerResponse>
 
 public final class TimestampLogEntry extends AbstractLogEntry Access log entry for timestamp. Default time format is "\'[\'dd/MMM/YYYY:HH:mm:ss ZZZ\']\'".
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classTimestampLogEntry.BuilderA fluent API builder forHostLogEntry.- 
Nested classes/interfaces inherited from interface io.helidon.webserver.HandlerHandler.EntityHandler<T>
 
- 
 - 
Field Summary- 
Fields inherited from class io.helidon.webserver.accesslog.AbstractLogEntryDEFAULT_MAX_LENGTH
 - 
Fields inherited from interface io.helidon.webserver.accesslog.AccessLogEntryNOT_AVAILABLE
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimestampLogEntry.Builderbuilder()Create a new fluent API builder.static TimestampLogEntrycreate()Create a new Timestamp log entry.StringdoApply(AccessLogContext context)Apply the "raw" log entry.- 
Methods inherited from class io.helidon.webserver.accesslog.AbstractLogEntryapply, maxLength, pad, sanitize
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface io.helidon.webserver.accesslog.AccessLogEntryaccept
 - 
Methods inherited from interface java.util.function.BiConsumerandThen
 
- 
 
- 
- 
- 
Method Detail- 
createpublic static TimestampLogEntry create() Create a new Timestamp log entry.- Returns:
- a new access log entry for Timestamp
- See Also:
- AccessLogSupport.Builder.add(AccessLogEntry)
 
 - 
builderpublic static TimestampLogEntry.Builder builder() Create a new fluent API builder.- Returns:
- a new builder instance
 
 - 
doApplypublic String doApply(AccessLogContext context) Description copied from class:AbstractLogEntryApply the "raw" log entry. The result will go through common formatting, such as padding if configured.- Specified by:
- doApplyin class- AbstractLogEntry
- Parameters:
- context- context with access to information useful for access log entries
- Returns:
- log entry
- See Also:
- AccessLogEntry.NOT_AVAILABLE
 
 
- 
 
-