Top Description Fields Constructors Methods
reactor.netty.http.server.logging

public final Enum AccessLogHandlerFactory

extends Enum<AccessLogHandlerFactory>
Class Inheritance
Imports
io.netty.channel.ChannelHandler, reactor.util.annotation.Nullable, java.util.function.Function

Use to create an access-log handler.
Author
limaoning

Field Summary

Modifier and TypeField and Description
public static final AccessLogHandlerFactory
H1

HTTP/1.1.

public static final AccessLogHandlerFactory
H2

HTTP/2.0.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public ChannelHandler

Returns:

the access log handler
create
(Function<AccessLogArgProvider, AccessLog> accessLog)

Create an access log handler, AccessLogHandlerH1 or AccessLogHandlerH2.

public static AccessLogHandlerFactory
public static AccessLogHandlerFactory[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

H1back to summary
public static final AccessLogHandlerFactory H1

HTTP/1.1.

H2back to summary
public static final AccessLogHandlerFactory H2

HTTP/2.0.

Constructor Detail

AccessLogHandlerFactoryback to summary
private AccessLogHandlerFactory()

Method Detail

createback to summary
public ChannelHandler create(Function<AccessLogArgProvider, AccessLog> accessLog)

Create an access log handler, AccessLogHandlerH1 or AccessLogHandlerH2.

Parameters
accessLog:Function<AccessLogArgProvider, AccessLog>

apply an AccessLog by an AccessLogArgProvider

Returns:ChannelHandler

the access log handler

valueOfback to summary
public static AccessLogHandlerFactory valueOf(String name)
valuesback to summary
public static AccessLogHandlerFactory[] values()