public class NettyHttpServerTransport extends AbstractLifecycleComponent<HttpServerTransport> implements HttpServerTransport
| 修飾子とタイプ | クラスと説明 |
|---|---|
protected static class |
NettyHttpServerTransport.HttpChannelPipelineFactory |
lifecycledeprecationLogger, logger, settings| コンストラクタと説明 |
|---|
NettyHttpServerTransport(Settings settings,
NetworkService networkService,
BigArrays bigArrays) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
BoundTransportAddress |
boundAddress() |
org.jboss.netty.channel.ChannelPipelineFactory |
configureServerChannelPipelineFactory() |
protected void |
dispatchRequest(HttpRequest request,
HttpChannel channel) |
protected void |
doClose() |
protected void |
doStart() |
protected void |
doStop() |
protected void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
CorsConfig |
getCorsConfig() |
void |
httpServerAdapter(HttpServerAdapter httpServerAdapter) |
HttpInfo |
info() |
Settings |
settings() |
HttpStats |
stats() |
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stoplogDeprecatedSetting, logRemovedSetting, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLifecycleListener, lifecycleState, removeLifecycleListener, start, stopclosepublic static final String SETTING_CORS_ALLOW_CREDENTIALS
public static final String SETTING_PIPELINING_MAX_EVENTS
public static final String SETTING_HTTP_COMPRESSION_LEVEL
public static final String SETTING_HTTP_DETAILED_ERRORS_ENABLED
public static final boolean DEFAULT_SETTING_PIPELINING
public static final int DEFAULT_SETTING_PIPELINING_MAX_EVENTS
protected final NetworkService networkService
protected final BigArrays bigArrays
protected final ByteSizeValue maxContentLength
protected final ByteSizeValue maxInitialLineLength
protected final ByteSizeValue maxHeaderSize
protected final ByteSizeValue maxChunkSize
protected final int workerCount
protected final boolean blockingServer
protected final boolean pipelining
protected final int pipeliningMaxEvents
protected final boolean compression
protected final int compressionLevel
protected final boolean resetCookies
protected final String port
protected final String[] bindHosts
protected final String[] publishHosts
protected final boolean detailedErrorsEnabled
protected final String tcpNoDelay
protected final String tcpKeepAlive
protected final boolean reuseAddress
protected final ByteSizeValue tcpSendBufferSize
protected final ByteSizeValue tcpReceiveBufferSize
protected final org.jboss.netty.channel.ReceiveBufferSizePredictorFactory receiveBufferSizePredictorFactory
protected final ByteSizeValue maxCumulationBufferCapacity
protected final int maxCompositeBufferComponents
protected volatile org.jboss.netty.bootstrap.ServerBootstrap serverBootstrap
protected volatile BoundTransportAddress boundAddress
protected volatile List<org.jboss.netty.channel.Channel> serverChannels
protected volatile HttpServerAdapter httpServerAdapter
@Inject public NettyHttpServerTransport(Settings settings, NetworkService networkService, BigArrays bigArrays)
public Settings settings()
public void httpServerAdapter(HttpServerAdapter httpServerAdapter)
httpServerAdapter インタフェース内 HttpServerTransportprotected void doStart()
protected void doStop()
protected void doClose()
public BoundTransportAddress boundAddress()
boundAddress インタフェース内 HttpServerTransportpublic HttpInfo info()
info インタフェース内 HttpServerTransportpublic HttpStats stats()
stats インタフェース内 HttpServerTransportpublic CorsConfig getCorsConfig()
protected void dispatchRequest(HttpRequest request, HttpChannel channel)
protected void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
throws Exception
Exceptionpublic org.jboss.netty.channel.ChannelPipelineFactory configureServerChannelPipelineFactory()
Copyright © 2009–2016. All rights reserved.