ClientFactoryOptions extends AbstractOptions<ClientFactoryOption<Object>, ClientFactoryOptionValue<Object>> { public static ClientFactoryOptions of() { return EMPTY; } private  ClientFactoryOptions(Iterable<? extends ClientFactoryOptionValue<?>> values); private  ClientFactoryOptions(ClientFactoryOptions baseOptions,
                                 Iterable<? extends ClientFactoryOptionValue<?>> additionalValues); static ClientFactoryOptions of(); static ClientFactoryOptions of(ClientFactoryOptionValue<?>... values); static ClientFactoryOptions of(Iterable<? extends ClientFactoryOptionValue<?>> values); static ClientFactoryOptions of(ClientFactoryOptions baseOptions,
                                          ClientFactoryOptionValue<?>... additionalValues); static ClientFactoryOptions of(ClientFactoryOptions baseOptions,
                                          Iterable<? extends ClientFactoryOptionValue<?>> additionalValues); EventLoopGroup workerGroup(); boolean shutdownWorkerGroupOnClose(); Function<? super EventLoopGroup, ? extends EventLoopScheduler> eventLoopSchedulerFactory(); Map<ChannelOption<?>, Object> channelOptions(); Consumer<? super SslContextBuilder> tlsCustomizer(); Function<? super EventLoopGroup,
            ? extends AddressResolverGroup<? extends InetSocketAddress>> addressResolverGroupFactory(); int http2InitialConnectionWindowSize(); int http2InitialStreamWindowSize(); int http2MaxFrameSize(); long http2MaxHeaderListSize(); int http1MaxInitialLineLength(); int http1MaxHeaderSize(); int http1MaxChunkSize(); long idleTimeoutMillis(); long pingIntervalMillis(); boolean useHttp2Preface(); boolean useHttp1Pipelining(); ConnectionPoolListener connectionPoolListener(); MeterRegistry meterRegistry(); ProxyConfigSelector proxyConfigSelector(); static final ClientFactoryOption<EventLoopGroup> WORKER_GROUP; static final ClientFactoryOption<Boolean> SHUTDOWN_WORKER_GROUP_ON_CLOSE; static final ClientFactoryOption<Function<? super EventLoopGroup, ? extends EventLoopScheduler>> EVENT_LOOP_SCHEDULER_FACTORY; static final ClientFactoryOption<Consumer<? super SslContextBuilder>> TLS_CUSTOMIZER; static final ClientFactoryOption<Function<? super EventLoopGroup,
            ? extends AddressResolverGroup<? extends InetSocketAddress>>> ADDRESS_RESOLVER_GROUP_FACTORY; static final ClientFactoryOption<Integer> HTTP2_INITIAL_CONNECTION_WINDOW_SIZE; static final ClientFactoryOption<Integer> HTTP2_INITIAL_STREAM_WINDOW_SIZE; static final ClientFactoryOption<Integer> HTTP2_MAX_FRAME_SIZE; static final ClientFactoryOption<Long> HTTP2_MAX_HEADER_LIST_SIZE; static final ClientFactoryOption<Integer> HTTP1_MAX_INITIAL_LINE_LENGTH; static final ClientFactoryOption<Integer> HTTP1_MAX_HEADER_SIZE; static final ClientFactoryOption<Integer> HTTP1_MAX_CHUNK_SIZE; static final ClientFactoryOption<Long> IDLE_TIMEOUT_MILLIS; static final ClientFactoryOption<Long> PING_INTERVAL_MILLIS; static final ClientFactoryOption<Boolean> USE_HTTP2_PREFACE; static final ClientFactoryOption<Boolean> USE_HTTP1_PIPELINING; static final ClientFactoryOption<ConnectionPoolListener> CONNECTION_POOL_LISTENER; static final ClientFactoryOption<MeterRegistry> METER_REGISTRY; static final ClientFactoryOption<ProxyConfigSelector> PROXY_CONFIG_SELECTOR; static final ClientFactoryOption<Map<ChannelOption<?>, Object>> CHANNEL_OPTIONS; }
@Test void testAsMap() { final ClientFactoryOptions options = ClientFactoryOptions.of( HTTP2_INITIAL_CONNECTION_WINDOW_SIZE.newValue(1)); final Map<ClientFactoryOption<Object>, ClientFactoryOptionValue<Object>> map = options.asMap(); assertThat(map).hasSize(1); assertThat(map.get(HTTP2_INITIAL_CONNECTION_WINDOW_SIZE).value()).isEqualTo(1); }