Class RequestMethodElementBuilder
java.lang.Object
io.micronaut.http.server.netty.handler.accesslog.element.RequestMethodElementBuilder
- All Implemented Interfaces:
io.micronaut.core.order.Ordered,LogElementBuilder
Builder for RequestMethodElement.
- Since:
- 2.0
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBuilds the log element for the specified token.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Constructor Details
-
RequestMethodElementBuilder
public RequestMethodElementBuilder()
-
-
Method Details
-
build
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.
-