Class NullDispatcher

java.lang.Object
org.elasticsearch.http.NullDispatcher
All Implemented Interfaces:
org.elasticsearch.http.HttpServerTransport.Dispatcher

public class NullDispatcher extends Object implements org.elasticsearch.http.HttpServerTransport.Dispatcher
  • Constructor Details

    • NullDispatcher

      public NullDispatcher()
  • Method Details

    • dispatchRequest

      public void dispatchRequest(org.elasticsearch.rest.RestRequest request, org.elasticsearch.rest.RestChannel channel, org.elasticsearch.common.util.concurrent.ThreadContext threadContext)
      Specified by:
      dispatchRequest in interface org.elasticsearch.http.HttpServerTransport.Dispatcher
    • dispatchBadRequest

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