Class ExtensionsKt
-
- All Implemented Interfaces:
public final class ExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static HttpServer
enableLogbackAccess(HttpServer $self, ReactorNettyAccessLogFactory reactorNettyAccessLogFactory)
Extension for HttpServer providing HttpServer.accessLog method alternative. final static HttpServer
enableLogbackAccess(HttpServer $self)
Extension for HttpServer providing HttpServer.accessLog method alternative with a default ReactorNettyAccessLogFactory configuration. final static HttpServer
enableLogbackAccess(HttpServer $self, String fileName)
Extension for HttpServer providing HttpServer.accessLog method alternative. final static HttpServer
enableLogbackAccess(HttpServer $self, URL config)
Extension for HttpServer providing HttpServer.accessLog method alternative. -
-
Method Detail
-
enableLogbackAccess
final static HttpServer enableLogbackAccess(HttpServer $self, ReactorNettyAccessLogFactory reactorNettyAccessLogFactory)
Extension for HttpServer providing HttpServer.accessLog method alternative.
- Parameters:
reactorNettyAccessLogFactory
- The ReactorNettyAccessLogFactory instance for access log configuration.- Returns:
a new HttpServer.
-
enableLogbackAccess
final static HttpServer enableLogbackAccess(HttpServer $self)
Extension for HttpServer providing HttpServer.accessLog method alternative with a default ReactorNettyAccessLogFactory configuration.
- Returns:
a new HttpServer.
-
enableLogbackAccess
final static HttpServer enableLogbackAccess(HttpServer $self, String fileName)
Extension for HttpServer providing HttpServer.accessLog method alternative.
- Parameters:
fileName
- The file name of the configuration file to load.- Returns:
a new HttpServer.
-
enableLogbackAccess
final static HttpServer enableLogbackAccess(HttpServer $self, URL config)
Extension for HttpServer providing HttpServer.accessLog method alternative.
- Parameters:
config
- the URL pointing to the configuration file to be used for setup.- Returns:
a new HttpServer.
-
-
-
-