Class DateTimeElementBuilder
- java.lang.Object
-
- io.micronaut.http.server.netty.handler.accesslog.element.DateTimeElementBuilder
-
- All Implemented Interfaces:
io.micronaut.core.order.Ordered,LogElementBuilder
public final class DateTimeElementBuilder extends java.lang.Object implements LogElementBuilder
Builder for DateTimeElement.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description DateTimeElementBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogElementbuild(java.lang.String token, java.lang.String param)Builds the log element for the specified token.
-
-
-
Method Detail
-
build
public LogElement build(java.lang.String token, java.lang.String param)
Description copied from interface:LogElementBuilderBuilds the log element for the specified token. It should return null it the token is not supported.- Specified by:
buildin interfaceLogElementBuilder- Parameters:
token- The log element marker.param- An optional paramter.- Returns:
- A LogElement or null if not supported by the builder.
-
-