public enum AccessLogHandlerFactory extends java.lang.Enum<AccessLogHandlerFactory>
| Modifier and Type | Method and Description | 
|---|---|
| io.netty.channel.ChannelHandler | create(java.util.function.Function<AccessLogArgProvider,AccessLog> accessLog)Create a access log handler,  AccessLogHandlerH1orAccessLogHandlerH2. | 
| static AccessLogHandlerFactory | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static AccessLogHandlerFactory[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final AccessLogHandlerFactory H1
public static final AccessLogHandlerFactory H2
public static AccessLogHandlerFactory[] values()
for (AccessLogHandlerFactory c : AccessLogHandlerFactory.values()) System.out.println(c);
public static AccessLogHandlerFactory valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic io.netty.channel.ChannelHandler create(@Nullable
                                              java.util.function.Function<AccessLogArgProvider,AccessLog> accessLog)
AccessLogHandlerH1 or AccessLogHandlerH2.accessLog - apply an AccessLog by an AccessLogArgProvider