public class XFFResolver extends Object implements ConfigChangeListener
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.logging.log4j.Logger |
log |
| Constructor and Description |
|---|
XFFResolver(TransportConfigUpdateAction tcua,
org.elasticsearch.threadpool.ThreadPool threadPool) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInitialized() |
void |
onChange(String event,
org.elasticsearch.common.settings.Settings settings) |
org.elasticsearch.common.transport.TransportAddress |
resolve(org.elasticsearch.rest.RestRequest request) |
void |
validate(String event,
org.elasticsearch.common.settings.Settings settings) |
@Inject public XFFResolver(TransportConfigUpdateAction tcua, org.elasticsearch.threadpool.ThreadPool threadPool)
public org.elasticsearch.common.transport.TransportAddress resolve(org.elasticsearch.rest.RestRequest request)
throws org.elasticsearch.ElasticsearchSecurityException
org.elasticsearch.ElasticsearchSecurityExceptionpublic void onChange(String event, org.elasticsearch.common.settings.Settings settings)
onChange in interface ConfigChangeListenerpublic void validate(String event, org.elasticsearch.common.settings.Settings settings) throws org.elasticsearch.ElasticsearchSecurityException
validate in interface ConfigChangeListenerorg.elasticsearch.ElasticsearchSecurityExceptionpublic boolean isInitialized()
isInitialized in interface ConfigChangeListenerCopyright © 2015–2016. All rights reserved.