public class NettyInitializerHttpServer extends NettyInitializer
ChannelPipeline for a new channel.NettyInitializer.CompressionRatioreadSocketTimeoutAction, readSocketTimeoutMs, sslCtx, useNettyCompression| Constructor and Description |
|---|
NettyInitializerHttpServer(INettyReaderCallback<Map<String,Object>> receiver,
org.thales.punch.libraries.metrics.api.IMetricContext metricsContext,
io.netty.handler.ssl.SslContext sslCtx,
boolean zipped,
long readSocketTimeoutMs,
boolean directResponse,
int multipartDecoderBufferSize)
Initializer for the http netty channel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initChannel(io.netty.channel.socket.SocketChannel ch) |
getAppRecvCounter, getAppSentCounter, getRawRecvCounter, getRawSentCounterchannelRegistered, exceptionCaught, handlerAdded, handlerRemovedpublic NettyInitializerHttpServer(INettyReaderCallback<Map<String,Object>> receiver, org.thales.punch.libraries.metrics.api.IMetricContext metricsContext, io.netty.handler.ssl.SslContext sslCtx, boolean zipped, long readSocketTimeoutMs, boolean directResponse, int multipartDecoderBufferSize)
receiver - the data receivermetricsContext - the metric contextsslCtx - a ssl context if required, or nullzipped - to enable socket level compressionreadSocketTimeoutMs - directResponse - Copyright © 2023. All rights reserved.