Package org.elasticsearch.http
Class NullDispatcher
java.lang.Object
org.elasticsearch.http.NullDispatcher
- All Implemented Interfaces:
org.elasticsearch.http.HttpServerTransport.Dispatcher
public class NullDispatcher
extends java.lang.Object
implements org.elasticsearch.http.HttpServerTransport.Dispatcher
-
Constructor Summary
Constructors Constructor Description NullDispatcher()
-
Method Summary
Modifier and Type Method Description void
dispatchBadRequest(org.elasticsearch.rest.RestChannel channel, org.elasticsearch.common.util.concurrent.ThreadContext threadContext, java.lang.Throwable cause)
void
dispatchRequest(org.elasticsearch.rest.RestRequest request, org.elasticsearch.rest.RestChannel channel, org.elasticsearch.common.util.concurrent.ThreadContext threadContext)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NullDispatcher
public NullDispatcher()
-
-
Method Details
-
dispatchRequest
public void dispatchRequest(org.elasticsearch.rest.RestRequest request, org.elasticsearch.rest.RestChannel channel, org.elasticsearch.common.util.concurrent.ThreadContext threadContext)- Specified by:
dispatchRequest
in interfaceorg.elasticsearch.http.HttpServerTransport.Dispatcher
-
dispatchBadRequest
public void dispatchBadRequest(org.elasticsearch.rest.RestChannel channel, org.elasticsearch.common.util.concurrent.ThreadContext threadContext, java.lang.Throwable cause)- Specified by:
dispatchBadRequest
in interfaceorg.elasticsearch.http.HttpServerTransport.Dispatcher
-