public class HttpTransport extends AbstractTcpTransport
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpTransport.Config |
static interface |
HttpTransport.Factory |
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_MAX_CHUNK_SIZE |
protected boolean |
enableBulkReceiving |
protected boolean |
enableCors |
protected int |
maxChunkSize |
childEventLoopGroup, configuration, parentEventLoopGroupCK_BIND_ADDRESS, CK_NUMBER_WORKER_THREADS, CK_PORT, CK_RECV_BUFFER_SIZE, eventLoopGroupFactory, localRegistry, socketAddress, throughputCounter, workerThreads| Constructor and Description |
|---|
HttpTransport(Configuration configuration,
io.netty.channel.EventLoopGroup eventLoopGroup,
EventLoopGroupFactory eventLoopGroupFactory,
NettyTransportConfiguration nettyTransportConfiguration,
ThroughputCounter throughputCounter,
LocalMetricRegistry localRegistry,
TLSProtocolsConfiguration tlsConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected LinkedHashMap<String,Callable<? extends io.netty.channel.ChannelHandler>> |
getCustomChildChannelHandlers(MessageInput input)
Subclasses can override this to modify the
channel handlers at the end of the pipeline for child channels. |
protected static int |
parseMaxChunkSize(Configuration configuration) |
getBootstrap, getChildChannelHandlers, getLocalAddress, launch, stopgetAggregator, getChannelHandlers, getChannelInitializer, getMetricSet, getRecvBufferSize, setMessageAggregatorprotected static final int DEFAULT_MAX_CHUNK_SIZE
protected final boolean enableBulkReceiving
protected final boolean enableCors
protected final int maxChunkSize
public HttpTransport(Configuration configuration, io.netty.channel.EventLoopGroup eventLoopGroup, EventLoopGroupFactory eventLoopGroupFactory, NettyTransportConfiguration nettyTransportConfiguration, ThroughputCounter throughputCounter, LocalMetricRegistry localRegistry, TLSProtocolsConfiguration tlsConfiguration)
protected static int parseMaxChunkSize(Configuration configuration)
DEFAULT_MAX_CHUNK_SIZE.protected LinkedHashMap<String,Callable<? extends io.netty.channel.ChannelHandler>> getCustomChildChannelHandlers(MessageInput input)
NettyTransportchannel handlers at the end of the pipeline for child channels.getCustomChildChannelHandlers in class NettyTransportinput - The MessageInput for which these child channel handlers are being addedchannel handlers to add to the Netty channel pipeline for child channelsCopyright © 2012–2022 Graylog, Inc.. All rights reserved.