Package org.elasticsearch.http.netty4
Class Netty4HttpServerTransport
java.lang.Object
org.elasticsearch.common.component.AbstractLifecycleComponent
org.elasticsearch.http.AbstractHttpServerTransport
org.elasticsearch.http.netty4.Netty4HttpServerTransport
- All Implemented Interfaces:
Closeable,AutoCloseable,LifecycleComponent,org.elasticsearch.core.Releasable,HttpServerTransport,ReportingService<HttpInfo>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classNested classes/interfaces inherited from interface org.elasticsearch.http.HttpServerTransport
HttpServerTransport.DispatcherNested classes/interfaces inherited from interface org.elasticsearch.node.ReportingService
ReportingService.Info -
Field Summary
Fields inherited from class org.elasticsearch.http.AbstractHttpServerTransport
corsHandler, dispatcher, handlingSettings, maxContentLength, networkService, port, recycler, settings, threadPoolFields inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent
lifecycleFields inherited from interface org.elasticsearch.http.HttpServerTransport
HTTP_PROFILE_NAME, HTTP_SERVER_WORKER_THREAD_NAME_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionNetty4HttpServerTransport(Settings settings, NetworkService networkService, ThreadPool threadPool, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, HttpServerTransport.Dispatcher dispatcher, ClusterSettings clusterSettings, SharedGroupFactory sharedGroupFactory, TelemetryProvider telemetryProvider, TLSConfig tlsConfig, AcceptChannelHandler.AcceptPredicate acceptChannelPredicate, HttpValidator httpValidator) -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpServerChannelbind(InetSocketAddress socketAddress) io.netty.channel.ChannelHandlervoidonException(HttpChannel channel, Exception cause) settings()protected voidprotected voidMethods inherited from class org.elasticsearch.http.AbstractHttpServerTransport
bindServer, boundAddress, doClose, doStart, doStop, getThreadPool, incomingRequest, info, onServerException, populatePerRequestThreadContext, recycler, serverAcceptedChannel, statsMethods inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent
addLifecycleListener, close, lifecycleState, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.common.component.LifecycleComponent
addLifecycleListener, lifecycleState, start, stopMethods inherited from interface org.elasticsearch.core.Releasable
close
-
Constructor Details
-
Method Details
-
settings
-
startInternal
protected void startInternal()- Specified by:
startInternalin classAbstractHttpServerTransport
-
bind
- Specified by:
bindin classAbstractHttpServerTransport- Throws:
Exception
-
stopInternal
protected void stopInternal()- Specified by:
stopInternalin classAbstractHttpServerTransport
-
onException
- Overrides:
onExceptionin classAbstractHttpServerTransport
-
configureServerChannelHandler
public io.netty.channel.ChannelHandler configureServerChannelHandler()
-