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 TypeMethodDescriptionvoiddispatchBadRequest(org.elasticsearch.rest.RestChannel channel, org.elasticsearch.common.util.concurrent.ThreadContext threadContext, Throwable cause) voiddispatchRequest(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:
dispatchRequestin 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:
dispatchBadRequestin interfaceorg.elasticsearch.http.HttpServerTransport.Dispatcher
-