public class HttpServer extends AbstractLifecycleComponent<HttpServer>
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
DEFAULT_MIME_TYPES |
lifecyclecomponentSettings, logger, settings| Constructor and Description |
|---|
HttpServer(Settings settings,
Environment environment,
HttpServerTransport transport,
RestController restController,
NodeService nodeService) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
protected void |
doStart() |
protected void |
doStop() |
HttpInfo |
info() |
void |
internalDispatchRequest(HttpRequest request,
HttpChannel channel) |
HttpStats |
stats() |
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stopnodeName@Inject public HttpServer(Settings settings, Environment environment, HttpServerTransport transport, RestController restController, NodeService nodeService)
protected void doStart()
throws ElasticsearchException
doStart in class AbstractLifecycleComponent<HttpServer>ElasticsearchExceptionprotected void doStop()
throws ElasticsearchException
doStop in class AbstractLifecycleComponent<HttpServer>ElasticsearchExceptionprotected void doClose()
throws ElasticsearchException
doClose in class AbstractLifecycleComponent<HttpServer>ElasticsearchExceptionpublic HttpInfo info()
public HttpStats stats()
public void internalDispatchRequest(HttpRequest request, HttpChannel channel)
Copyright © 2009–2016. All rights reserved.