public class HttpServer extends AbstractLifecycleComponent<HttpServer> implements HttpServerAdapter
lifecycle
deprecationLogger, logger, settings
Constructor and Description |
---|
HttpServer(Settings settings,
HttpServerTransport transport,
RestController restController,
NodeService nodeService,
CircuitBreakerService circuitBreakerService) |
Modifier and Type | Method and Description |
---|---|
void |
dispatchRequest(RestRequest request,
RestChannel channel,
ThreadContext threadContext) |
protected void |
doClose() |
protected void |
doStart() |
protected void |
doStop() |
HttpInfo |
info() |
HttpStats |
stats() |
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public HttpServer(Settings settings, HttpServerTransport transport, RestController restController, NodeService nodeService, CircuitBreakerService circuitBreakerService)
protected void doStart()
doStart
in class AbstractLifecycleComponent<HttpServer>
protected void doStop()
doStop
in class AbstractLifecycleComponent<HttpServer>
protected void doClose()
doClose
in class AbstractLifecycleComponent<HttpServer>
public HttpInfo info()
public HttpStats stats()
public void dispatchRequest(RestRequest request, RestChannel channel, ThreadContext threadContext)
dispatchRequest
in interface HttpServerAdapter