public class ValidatingDispatcher extends Object implements org.elasticsearch.http.HttpServerTransport.Dispatcher
| Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkRequest(org.elasticsearch.rest.RestRequest request,
org.elasticsearch.rest.RestChannel channel) |
void |
dispatchBadRequest(org.elasticsearch.rest.RestRequest request,
org.elasticsearch.rest.RestChannel channel,
org.elasticsearch.common.util.concurrent.ThreadContext threadContext,
Throwable cause) |
void |
dispatchRequest(org.elasticsearch.rest.RestRequest request,
org.elasticsearch.rest.RestChannel channel,
org.elasticsearch.common.util.concurrent.ThreadContext threadContext) |
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)
public void dispatchRequest(org.elasticsearch.rest.RestRequest request,
org.elasticsearch.rest.RestChannel channel,
org.elasticsearch.common.util.concurrent.ThreadContext threadContext)
dispatchRequest in interface org.elasticsearch.http.HttpServerTransport.Dispatcherpublic void dispatchBadRequest(org.elasticsearch.rest.RestRequest request,
org.elasticsearch.rest.RestChannel channel,
org.elasticsearch.common.util.concurrent.ThreadContext threadContext,
Throwable cause)
dispatchBadRequest in interface org.elasticsearch.http.HttpServerTransport.Dispatcherprotected void checkRequest(org.elasticsearch.rest.RestRequest request,
org.elasticsearch.rest.RestChannel channel)
Copyright © 2015–2018. All rights reserved.