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