public class HttpServer extends AbstractLifecycleComponent<HttpServer>
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
DEFAULT_MIME_TYPES |
lifecycledeprecationLogger, 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, stoplogDeprecatedSetting, logRemovedSetting, nodeName@Inject public HttpServer(Settings settings, Environment environment, HttpServerTransport transport, RestController restController, NodeService nodeService)
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 internalDispatchRequest(HttpRequest request, HttpChannel channel)
Copyright © 2009–2016. All rights reserved.