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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    dispatchBadRequest(org.opensearch.rest.RestChannel channel, org.opensearch.common.util.concurrent.ThreadContext threadContext, Throwable cause)
     
    void
    dispatchRequest(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, wait

    Methods 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:
      dispatchRequest in interface org.opensearch.http.HttpServerTransport.Dispatcher
    • dispatchBadRequest

      public void dispatchBadRequest(org.opensearch.rest.RestChannel channel, org.opensearch.common.util.concurrent.ThreadContext threadContext, Throwable cause)
      Specified by:
      dispatchBadRequest in interface org.opensearch.http.HttpServerTransport.Dispatcher