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 Object
implements org.elasticsearch.http.HttpServerTransport.Dispatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispatchBadRequest
(org.elasticsearch.rest.RestChannel channel, org.elasticsearch.common.util.concurrent.ThreadContext threadContext, Throwable cause) void
dispatchRequest
(org.elasticsearch.rest.RestRequest request, org.elasticsearch.rest.RestChannel channel, org.elasticsearch.common.util.concurrent.ThreadContext threadContext)
-
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, Throwable cause) - Specified by:
dispatchBadRequest
in interfaceorg.elasticsearch.http.HttpServerTransport.Dispatcher
-