public B pipelineConfigurator(PipelineConfigurator<I, O> pipelineConfigurator) { this.pipelineConfigurator = pipelineConfigurator; return returnBuilder(); }
public B pipelineConfigurator(PipelineConfigurator<I, O> pipelineConfigurator) { this.pipelineConfigurator = pipelineConfigurator; return returnBuilder(); }
public B withSslEngineFactory(SSLEngineFactory sslEngineFactory) { this.sslEngineFactory = sslEngineFactory; return returnBuilder(); }
public B withMetricEventsListenerFactory(MetricEventsListenerFactory eventListenersFactory) { this.eventListenersFactory = eventListenersFactory; return returnBuilder(); }
public B channel(Class<? extends C> serverChannelClass) { this.serverChannelClass = serverChannelClass; return returnBuilder(); }
public B withSslEngineFactory(SSLEngineFactory sslEngineFactory) { this.sslEngineFactory = sslEngineFactory; return returnBuilder(); }
public B withMetricEventsListenerFactory(MetricEventsListenerFactory eventListenersFactory) { this.eventListenersFactory = eventListenersFactory; return returnBuilder(); }
public B channel(Class<? extends C> serverChannelClass) { this.serverChannelClass = serverChannelClass; return returnBuilder(); }
/** * If the passed executor is not {@code null} , the configured {@link ConnectionHandler} will be invoked in * the passed {@link EventExecutorGroup} * * @param eventExecutorGroup The {@link EventExecutorGroup} in which to invoke the configured * {@link ConnectionHandler}. Can be {@code null}, in which case, the * {@link ConnectionHandler} is invoked in the channel's eventloop. * * @return This builder. */ public B withEventExecutorGroup(EventExecutorGroup eventExecutorGroup) { this.eventExecutorGroup = eventExecutorGroup; return returnBuilder(); }
/** * If the passed executor is not {@code null} , the configured {@link ConnectionHandler} will be invoked in * the passed {@link EventExecutorGroup} * * @param eventExecutorGroup The {@link EventExecutorGroup} in which to invoke the configured * {@link ConnectionHandler}. Can be {@code null}, in which case, the * {@link ConnectionHandler} is invoked in the channel's eventloop. * * @return This builder. */ public B withEventExecutorGroup(EventExecutorGroup eventExecutorGroup) { this.eventExecutorGroup = eventExecutorGroup; return returnBuilder(); }
/** * Enables wire level logs (all events received by netty) to be logged at the passed {@code wireLogginLevel}. <br/> * * Since, in most of the production systems, the logging level is set to {@link LogLevel#WARN} or * {@link LogLevel#ERROR}, if this wire level logging is required for all requests (not at all recommended as this * logging is very verbose), the passed level must be {@link LogLevel#WARN} or {@link LogLevel#ERROR} respectively. <br/> * * It is recommended to set this level to {@link LogLevel#DEBUG} and then dynamically enabled disable this log level * whenever required. <br/> * * @param wireLogginLevel Log level at which the wire level logs will be logged. * * @return This builder. * * @see LoggingHandler */ public B enableWireLogging(LogLevel wireLogginLevel) { this.wireLogginLevel = wireLogginLevel; return returnBuilder(); }
/** * Enables wire level logs (all events received by netty) to be logged at the passed {@code wireLogginLevel}. <br/> * * Since, in most of the production systems, the logging level is set to {@link LogLevel#WARN} or * {@link LogLevel#ERROR}, if this wire level logging is required for all requests (not at all recommended as this * logging is very verbose), the passed level must be {@link LogLevel#WARN} or {@link LogLevel#ERROR} respectively. <br/> * * It is recommended to set this level to {@link LogLevel#DEBUG} and then dynamically enabled disable this log level * whenever required. <br/> * * @param wireLogginLevel Log level at which the wire level logs will be logged. * * @return This builder. * * @see LoggingHandler */ public B enableWireLogging(LogLevel wireLogginLevel) { this.wireLogginLevel = wireLogginLevel; return returnBuilder(); }
public B eventLoop(EventLoopGroup singleGroup) { serverBootstrap.group(singleGroup); return returnBuilder(); }
public <P> B channelOption(ChannelOption<P> option, P value) { serverBootstrap.option(option, value); return returnBuilder(); }
public B defaultChannelOptions() { channelOption(ChannelOption.ALLOCATOR, PooledByteBufAllocator.DEFAULT); return returnBuilder(); }
public <P> B channelOption(ChannelOption<P> option, P value) { serverBootstrap.option(option, value); return returnBuilder(); }
public B defaultChannelOptions() { channelOption(ChannelOption.ALLOCATOR, PooledByteBufAllocator.DEFAULT); return returnBuilder(); }
public B eventLoop(EventLoopGroup singleGroup) { serverBootstrap.group(singleGroup); return returnBuilder(); }