Class NullDispatcher
java.lang.Object
org.opensearch.http.NullDispatcher
- All Implemented Interfaces:
org.opensearch.http.HttpServerTransport.Dispatcher
public class NullDispatcher
extends Object
implements org.opensearch.http.HttpServerTransport.Dispatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispatchBadRequest(org.opensearch.rest.RestChannel channel, org.opensearch.common.util.concurrent.ThreadContext threadContext, Throwable cause) voiddispatchRequest(org.opensearch.rest.RestRequest request, org.opensearch.rest.RestChannel channel, org.opensearch.common.util.concurrent.ThreadContext threadContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.http.HttpServerTransport.Dispatcher
dispatchHandler
-
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, Throwable cause) - Specified by:
dispatchBadRequestin interfaceorg.opensearch.http.HttpServerTransport.Dispatcher
-