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(RestRequest request, RestChannel channel, ThreadContext threadContext, java.lang.Throwable cause)
void
dispatchRequest(RestRequest request, RestChannel channel, ThreadContext threadContext)
-
-
-
Method Detail
-
dispatchRequest
public void dispatchRequest(RestRequest request, RestChannel channel, ThreadContext threadContext)
- Specified by:
dispatchRequest
in interfaceHttpServerTransport.Dispatcher
-
dispatchBadRequest
public void dispatchBadRequest(RestRequest request, RestChannel channel, ThreadContext threadContext, java.lang.Throwable cause)
- Specified by:
dispatchBadRequest
in interfaceHttpServerTransport.Dispatcher
-
-