public class LoggingHandlerFactory
extends java.lang.Object
implements rx.functions.Func0<io.netty.channel.ChannelHandler>
LoggingHandler is a shaerable handler and hence need not be created for all channels. This factory
manages a static map of log level -> instance which can be used directly instead of creating a new factory per
client.| Modifier and Type | Method and Description |
|---|---|
io.netty.channel.ChannelHandler |
call() |
static io.netty.handler.logging.LoggingHandler |
get(java.lang.String name,
io.netty.handler.logging.LogLevel logLevel) |
static LoggingHandlerFactory |
getFactory(java.lang.String name,
io.netty.handler.logging.LogLevel logLevel) |
public static io.netty.handler.logging.LoggingHandler get(java.lang.String name,
io.netty.handler.logging.LogLevel logLevel)
public static LoggingHandlerFactory getFactory(java.lang.String name, io.netty.handler.logging.LogLevel logLevel)
public io.netty.channel.ChannelHandler call()
call in interface java.util.concurrent.Callable<io.netty.channel.ChannelHandler>call in interface rx.functions.Func0<io.netty.channel.ChannelHandler>