public abstract class AbstractRequestInterceptor extends Object implements RequestInterceptor
| Constructor and Description |
|---|
AbstractRequestInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
AMRMProxyApplicationContext |
getApplicationContext()
Gets the
AMRMProxyApplicationContext. |
org.apache.hadoop.conf.Configuration |
getConf()
Gets the
Configuration. |
RequestInterceptor |
getNextInterceptor()
Gets the next
RequestInterceptor in the chain. |
void |
init(AMRMProxyApplicationContext appContext)
Initializes the
RequestInterceptor. |
void |
setConf(org.apache.hadoop.conf.Configuration conf)
Sets the
Configuration. |
void |
setNextInterceptor(RequestInterceptor nextInterceptor)
Sets the
RequestInterceptor in the chain. |
void |
shutdown()
Disposes the
RequestInterceptor. |
public void setNextInterceptor(RequestInterceptor nextInterceptor)
RequestInterceptor in the chain.setNextInterceptor in interface RequestInterceptorpublic void setConf(org.apache.hadoop.conf.Configuration conf)
Configuration.setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
Configuration.getConf in interface org.apache.hadoop.conf.Configurablepublic void init(AMRMProxyApplicationContext appContext)
RequestInterceptor.init in interface RequestInterceptorpublic void shutdown()
RequestInterceptor.shutdown in interface RequestInterceptorpublic RequestInterceptor getNextInterceptor()
RequestInterceptor in the chain.getNextInterceptor in interface RequestInterceptorpublic AMRMProxyApplicationContext getApplicationContext()
AMRMProxyApplicationContext.getApplicationContext in interface RequestInterceptorCopyright © 2017 Apache Software Foundation. All Rights Reserved.