Package org.elasticsearch.http
Class NullDispatcher
java.lang.Object
org.elasticsearch.http.NullDispatcher
- All Implemented Interfaces:
HttpServerTransport.Dispatcher
public class NullDispatcher extends java.lang.Object implements HttpServerTransport.Dispatcher
-
Constructor Summary
Constructors Constructor Description NullDispatcher()
-
Method Summary
Modifier and Type Method Description void
dispatchBadRequest(RestChannel channel, ThreadContext threadContext, java.lang.Throwable cause)
void
dispatchRequest(RestRequest request, RestChannel channel, ThreadContext threadContext)
-
Constructor Details
-
NullDispatcher
public NullDispatcher()
-
-
Method Details
-
dispatchRequest
- Specified by:
dispatchRequest
in interfaceHttpServerTransport.Dispatcher
-
dispatchBadRequest
public void dispatchBadRequest(RestChannel channel, ThreadContext threadContext, java.lang.Throwable cause)- Specified by:
dispatchBadRequest
in interfaceHttpServerTransport.Dispatcher
-