Interface Router.Builder

All Known Implementing Classes:
Router4
Enclosing interface:
Router

public static interface Router.Builder
  • Field Details

  • Method Details

    • nettyVersion

      Netty nettyVersion()
    • name

      Router.Builder name(@Nonnull String name)
    • resourceRegistry

      Router.Builder resourceRegistry(@Nonnull ResourceRegistry resourceRegistry)
    • threadFactory

      Router.Builder threadFactory(@Nonnull ThreadFactory threadFactory)
    • serverSocketChannel

      Router.Builder serverSocketChannel(@Nonnull Class<?> serverSocketChannel)
    • bossPoolSize

      Router.Builder bossPoolSize(@Nonnegative int bossPoolSize)
    • ioWorkerPoolSize

      Router.Builder ioWorkerPoolSize(@Nonnegative int ioWorkerPoolSize)
    • executor

      Router.Builder executor(@Nonnull Executor executor)
    • workerExecutor

      Router.Builder workerExecutor(@Nonnull Executor workerExecutor)
    • appWorkerCorePoolSize

      Router.Builder appWorkerCorePoolSize(@Nonnegative int corePoolSize)
    • appWorkerChannelMaxMemorySize

      Router.Builder appWorkerChannelMaxMemorySize(@Nonnegative long maxChannelMemorySize)
    • appWorkerTotalMaxMemorySize

      Router.Builder appWorkerTotalMaxMemorySize(@Nonnegative long maxTotalMemorySize)
    • appWorkerKeepAliveSeconds

      Router.Builder appWorkerKeepAliveSeconds(@Nonnegative long appWorkerKeepAliveSeconds)
    • timeoutProcessor

      Router.Builder timeoutProcessor(@Nonnull RouterTimeoutProcessor timeoutProcessor)
    • timeoutProcessor

      default Router.Builder timeoutProcessor(@Nonnull TimeoutProcessor timeoutProcessor)
    • connectionLimit

      Router.Builder connectionLimit(@Nonnegative int connectionLimit)
    • connectionLimit

      Router.Builder connectionLimit(@Nonnull IntSupplier connectionLimit)
    • serverSocketOptions

      Router.Builder serverSocketOptions(Map<String,Object> serverSocketOptions)
    • serverSocketOptions

      Router.Builder serverSocketOptions(@Nonnull String key, Object value)
    • maxHeaderSize

      Router.Builder maxHeaderSize(@Nonnegative int maxHeaderSize)
    • maxInitialLineLength

      Router.Builder maxInitialLineLength(@Nonnegative int maxInitialLineLength)
    • maxChunkSize

      Router.Builder maxChunkSize(@Nonnegative int maxChunkSize)
    • maxContentLength

      Router.Builder maxContentLength(@Nonnegative long maxContentLength)
    • idleTimeout

      Router.Builder idleTimeout(@Nonnegative long time, @Nonnull TimeUnit unit)
    • handshakeTimeout

      Router.Builder handshakeTimeout(@Nonnegative long time, @Nonnull TimeUnit unit)
    • enableInboundHttp2

      default Router.Builder enableInboundHttp2(boolean enableHttp2)
    • http2MaxConcurrentStreams

      default Router.Builder http2MaxConcurrentStreams(int maxConcurrentStreams)
    • http2MaxFrameSize

      default Router.Builder http2MaxFrameSize(int http2MaxFrameSize)
    • http2InitialWindowSize

      default Router.Builder http2InitialWindowSize(int http2InitialWindowSize)
    • http2HeaderTableSize

      default Router.Builder http2HeaderTableSize(int http2HeaderTableSize)
    • http2MaxHeaderListSize

      default Router.Builder http2MaxHeaderListSize(int http2MaxHeaderListSize)
    • useCustomMultiplexHandler

      default Router.Builder useCustomMultiplexHandler(boolean useCustomMultiplexHandler)
    • addBootstrapFilter

      default <T> Router.Builder addBootstrapFilter(Function<T,T> function)
    • pipelineFactory

      <CHANNEL_HANDLER> Router.PipelineFactory<CHANNEL_HANDLER> pipelineFactory(@Nonnull Class<CHANNEL_HANDLER> handlerClass)
    • beforeHttpServerCodec

      <CHANNEL_PIPELINE> Router.Builder beforeHttpServerCodec(@Nonnull Class<CHANNEL_PIPELINE> pipelineClass, @Nonnull Consumer<CHANNEL_PIPELINE> consumer)
    • beforeChunkAggregator

      <CHANNEL_PIPELINE> Router.Builder beforeChunkAggregator(@Nonnull Class<CHANNEL_PIPELINE> pipelineClass, @Nonnull Consumer<CHANNEL_PIPELINE> consumer)
    • beforeIdleStateHandler

      <CHANNEL_PIPELINE> Router.Builder beforeIdleStateHandler(@Nonnull Class<CHANNEL_PIPELINE> pipelineClass, @Nonnull Consumer<CHANNEL_PIPELINE> consumer)
    • beforeHttpRequestHandler

      <CHANNEL_PIPELINE> Router.Builder beforeHttpRequestHandler(@Nonnull Class<CHANNEL_PIPELINE> pipelineClass, @Nonnull Consumer<CHANNEL_PIPELINE> consumer)
    • ioWorkerPoolBuilder

      <POOL_TYPE> Router.Builder ioWorkerPoolBuilder(@Nonnull Class<POOL_TYPE> poolClass, @Nonnull Function<Executor,POOL_TYPE> builder)
    • bossPoolBuilder

      <POOL_TYPE> Router.Builder bossPoolBuilder(@Nonnull Class<POOL_TYPE> poolClass, @Nonnull Function<Executor,POOL_TYPE> builder)
    • build

      @CheckReturnValue Router build()