Class ValidatingDispatcher
- java.lang.Object
-
- com.floragunn.searchguard.ssl.http.netty.ValidatingDispatcher
-
- All Implemented Interfaces:
org.elasticsearch.http.HttpServerTransport.Dispatcher
public class ValidatingDispatcher extends Object implements org.elasticsearch.http.HttpServerTransport.Dispatcher
-
-
Constructor Summary
Constructors Constructor Description ValidatingDispatcher(org.elasticsearch.common.util.concurrent.ThreadContext threadContext, org.elasticsearch.http.HttpServerTransport.Dispatcher originalDispatcher, org.elasticsearch.common.settings.Settings settings, Path configPath, SslExceptionHandler errorHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckRequest(org.elasticsearch.rest.RestRequest request, org.elasticsearch.rest.RestChannel channel)voiddispatchBadRequest(org.elasticsearch.rest.RestChannel channel, org.elasticsearch.common.util.concurrent.ThreadContext threadContext, Throwable cause)voiddispatchRequest(org.elasticsearch.rest.RestRequest request, org.elasticsearch.rest.RestChannel channel, org.elasticsearch.common.util.concurrent.ThreadContext threadContext)
-
-
-
Constructor Detail
-
ValidatingDispatcher
public ValidatingDispatcher(org.elasticsearch.common.util.concurrent.ThreadContext threadContext, org.elasticsearch.http.HttpServerTransport.Dispatcher originalDispatcher, org.elasticsearch.common.settings.Settings settings, Path configPath, SslExceptionHandler errorHandler)
-
-
Method Detail
-
dispatchRequest
public void dispatchRequest(org.elasticsearch.rest.RestRequest request, org.elasticsearch.rest.RestChannel channel, org.elasticsearch.common.util.concurrent.ThreadContext threadContext)- Specified by:
dispatchRequestin interfaceorg.elasticsearch.http.HttpServerTransport.Dispatcher
-
dispatchBadRequest
public void dispatchBadRequest(org.elasticsearch.rest.RestChannel channel, org.elasticsearch.common.util.concurrent.ThreadContext threadContext, Throwable cause)- Specified by:
dispatchBadRequestin interfaceorg.elasticsearch.http.HttpServerTransport.Dispatcher
-
checkRequest
protected void checkRequest(org.elasticsearch.rest.RestRequest request, org.elasticsearch.rest.RestChannel channel)
-
-