Interface LogElementBuilder
- All Superinterfaces:
Ordered
- All Known Implementing Classes:
BytesSentElementBuilder, CookieElementBuilder, DateTimeElementBuilder, ElapseTimeElementBuilder, HeaderElementBuilder, LocalHostElementBuilder, LocalIpElementBuilder, LocalPortElementBuilder, NotImplementedElementBuilder, RemoteHostElementBuilder, RemoteIpElementBuilder, RequestLineElementBuilder, RequestMethodElementBuilder, RequestProtocolElementBuilder, RequestUriElementBuilder, ResponseCodeElementBuilder
Builder for LogElement.
- Since:
- 2.0
- Author:
- croudet
-
Field Summary
Fields inherited from interface Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescription@Nullable LogElementBuilds the log element for the specified token.
-
Method Details
-
build
Builds the log element for the specified token. It should return null it the token is not supported.- Parameters:
token- The log element marker.param- An optional paramter.- Returns:
- A LogElement or null if not supported by the builder.
-