Package org.opensearch.http
Class NullDispatcher
java.lang.Object
org.opensearch.http.NullDispatcher
- All Implemented Interfaces:
org.opensearch.http.HttpServerTransport.Dispatcher
public class NullDispatcher
extends java.lang.Object
implements org.opensearch.http.HttpServerTransport.Dispatcher
-
Constructor Summary
Constructors Constructor Description NullDispatcher() -
Method Summary
Modifier and Type Method Description voiddispatchBadRequest(org.opensearch.rest.RestChannel channel, org.opensearch.common.util.concurrent.ThreadContext threadContext, java.lang.Throwable cause)voiddispatchRequest(org.opensearch.rest.RestRequest request, org.opensearch.rest.RestChannel channel, org.opensearch.common.util.concurrent.ThreadContext threadContext)
-
Constructor Details
-
NullDispatcher
public NullDispatcher()
-
-
Method Details
-
dispatchRequest
public void dispatchRequest(org.opensearch.rest.RestRequest request, org.opensearch.rest.RestChannel channel, org.opensearch.common.util.concurrent.ThreadContext threadContext)- Specified by:
dispatchRequestin interfaceorg.opensearch.http.HttpServerTransport.Dispatcher
-
dispatchBadRequest
public void dispatchBadRequest(org.opensearch.rest.RestChannel channel, org.opensearch.common.util.concurrent.ThreadContext threadContext, java.lang.Throwable cause)- Specified by:
dispatchBadRequestin interfaceorg.opensearch.http.HttpServerTransport.Dispatcher
-