Class AccessLogSupport

java.lang.Object
io.helidon.webserver.accesslog.AccessLogSupport
All Implemented Interfaces:
Service

public final class AccessLogSupport extends Object implements Service
Service that adds support for Access logging to WebServer.
  • Field Details

    • DEFAULT_LOGGER_NAME

      public static final String DEFAULT_LOGGER_NAME
      Name of the Logger used to log access log records. The message logged contains all information, so the format should be modified to only log the message.
      See Also:
  • Method Details

    • create

      public static AccessLogSupport create()
      Create Access log support with default configuration.
      Returns:
      a new access log support to be registered with WebServer routing
    • create

      public static AccessLogSupport create(Config config)
      Create Access log support configured from Config.
      Parameters:
      config - to configure a new access log support instance
      Returns:
      a new access log support to be registered with WebServer routing
    • builder

      public static AccessLogSupport.Builder builder()
      A new fluent API builder to create Access log support instance.
      Returns:
      a new builder
    • update

      public void update(Routing.Rules rules)
      Description copied from interface: Service
      Updates Routing.Rules with handlers representing this service.
      Specified by:
      update in interface Service
      Parameters:
      rules - a routing rules to update