Package org.elasticsearch.http
Class AggregatingDispatcher
java.lang.Object
org.elasticsearch.http.AggregatingDispatcher
- All Implemented Interfaces:
HttpServerTransport.Dispatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispatchAggregatedRequest(RestRequest restRequest, RestChannel restChannel, ThreadContext threadContext) voiddispatchBadRequest(RestChannel channel, ThreadContext threadContext, Throwable cause) final voiddispatchRequest(RestRequest request, RestChannel channel, ThreadContext threadContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.http.HttpServerTransport.Dispatcher
getStats
-
Constructor Details
-
AggregatingDispatcher
public AggregatingDispatcher()
-
-
Method Details
-
dispatchAggregatedRequest
public void dispatchAggregatedRequest(RestRequest restRequest, RestChannel restChannel, ThreadContext threadContext) -
dispatchRequest
public final void dispatchRequest(RestRequest request, RestChannel channel, ThreadContext threadContext) - Specified by:
dispatchRequestin interfaceHttpServerTransport.Dispatcher
-
dispatchBadRequest
- Specified by:
dispatchBadRequestin interfaceHttpServerTransport.Dispatcher
-