|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.common.component.AbstractComponent org.elasticsearch.common.component.AbstractLifecycleComponent<RestController> org.elasticsearch.rest.RestController
public class RestController
Field Summary |
---|
Fields inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent |
---|
lifecycle |
Fields inherited from class org.elasticsearch.common.component.AbstractComponent |
---|
componentSettings, logger, settings |
Constructor Summary | |
---|---|
RestController(Settings settings)
|
Method Summary | |
---|---|
boolean |
dispatchRequest(RestRequest request,
RestChannel channel)
|
protected void |
doClose()
|
protected void |
doStart()
|
protected void |
doStop()
|
void |
registerHandler(RestRequest.Method method,
java.lang.String path,
RestHandler handler)
|
Methods inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent |
---|
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop |
Methods inherited from class org.elasticsearch.common.component.AbstractComponent |
---|
nodeName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Inject public RestController(Settings settings)
Method Detail |
---|
protected void doStart() throws ElasticSearchException
doStart
in class AbstractLifecycleComponent<RestController>
ElasticSearchException
protected void doStop() throws ElasticSearchException
doStop
in class AbstractLifecycleComponent<RestController>
ElasticSearchException
protected void doClose() throws ElasticSearchException
doClose
in class AbstractLifecycleComponent<RestController>
ElasticSearchException
public void registerHandler(RestRequest.Method method, java.lang.String path, RestHandler handler)
public boolean dispatchRequest(RestRequest request, RestChannel channel)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |