- java.lang.Object
-
- io.helidon.webserver.accesslog.AccessLogSupport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccessLogSupport.Builder
A fluent API Builder forAccessLogSupport
.
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_LOGGER_NAME
Name of theLogger
used to log access log records.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccessLogSupport.Builder
builder()
A new fluent API builder to create Access log support instance.static AccessLogSupport
create()
Create Access log support with default configuration.static AccessLogSupport
create(Config config)
Create Access log support configured fromConfig
.void
update(Routing.Rules rules)
UpdatesRouting.Rules
withhandlers
representing this service.
-
-
-
Field Detail
-
DEFAULT_LOGGER_NAME
public static final String DEFAULT_LOGGER_NAME
Name of theLogger
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:
AccessLogHandler
, Constant Field Values
-
-
Method Detail
-
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 fromConfig
.- 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
UpdatesRouting.Rules
withhandlers
representing this service.
-
-