Class ResponseCodeElementBuilder
java.lang.Object
io.micronaut.http.server.netty.handler.accesslog.element.ResponseCodeElementBuilder
- All Implemented Interfaces:
Ordered
,LogElementBuilder
Builder for ResponseCodeElement.
- Since:
- 2.0
- Author:
- croudet
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionBuilds the log element for the specified token.
-
Constructor Details
-
ResponseCodeElementBuilder
public ResponseCodeElementBuilder()
-
-
Method Details
-
build
Description copied from interface:LogElementBuilder
Builds the log element for the specified token. It should return null it the token is not supported.- Specified by:
build
in interfaceLogElementBuilder
- Parameters:
token
- The log element marker.param
- An optional paramter.- Returns:
- A LogElement or null if not supported by the builder.
-