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

public interface LogElementBuilder extends Ordered
Builder for LogElement.
Since:
2.0
Author:
croudet
  • Method Details

    • build

      LogElement build(String token, String param)
      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.