public class HttpServer extends org.elasticsearch.common.component.AbstractLifecycleComponent<HttpServer>
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
DEFAULT_MIME_TYPES |
| Constructor and Description |
|---|
HttpServer(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.env.Environment environment,
HttpServerTransport transport,
org.elasticsearch.rest.RestController restController,
HttpPatchRestController httpPatchRestController,
InteractiveController interActiveController,
org.elasticsearch.node.service.NodeService nodeService) |
| Modifier and Type | Method and Description |
|---|---|
org.elasticsearch.common.transport.TransportAddress |
address() |
org.jboss.netty.channel.Channel |
channel(Integer id) |
protected void |
doClose() |
protected void |
doStart() |
protected void |
doStop() |
HttpInfo |
info() |
void |
internalDispatchRequest(HttpRequest request,
HttpChannel channel) |
void |
internalFrame(org.jboss.netty.handler.codec.http.websocketx.WebSocketServerHandshaker handshaker,
org.jboss.netty.handler.codec.http.websocketx.WebSocketFrame frame,
org.jboss.netty.channel.ChannelHandlerContext context) |
void |
internalPresence(Presence presence,
String topic,
org.jboss.netty.channel.Channel channel) |
HttpStats |
stats() |
public static final Map<String,String> DEFAULT_MIME_TYPES
@Inject public HttpServer(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.env.Environment environment, HttpServerTransport transport, org.elasticsearch.rest.RestController restController, HttpPatchRestController httpPatchRestController, InteractiveController interActiveController, org.elasticsearch.node.service.NodeService nodeService)
protected void doStart() throws org.elasticsearch.ElasticsearchException
doStart in class org.elasticsearch.common.component.AbstractLifecycleComponent<HttpServer>org.elasticsearch.ElasticsearchExceptionprotected void doStop() throws org.elasticsearch.ElasticsearchException
doStop in class org.elasticsearch.common.component.AbstractLifecycleComponent<HttpServer>org.elasticsearch.ElasticsearchExceptionprotected void doClose() throws org.elasticsearch.ElasticsearchException
doClose in class org.elasticsearch.common.component.AbstractLifecycleComponent<HttpServer>org.elasticsearch.ElasticsearchExceptionpublic org.elasticsearch.common.transport.TransportAddress address()
public void internalDispatchRequest(HttpRequest request, HttpChannel channel)
public void internalPresence(Presence presence, String topic, org.jboss.netty.channel.Channel channel)
public void internalFrame(org.jboss.netty.handler.codec.http.websocketx.WebSocketServerHandshaker handshaker, org.jboss.netty.handler.codec.http.websocketx.WebSocketFrame frame, org.jboss.netty.channel.ChannelHandlerContext context)
Copyright © 2012–2014. All rights reserved.