public class OneConfig extends HashMap<String,String> implements javax.servlet.FilterConfig, javax.servlet.ServletConfig, InvokerConfig
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 构造器和说明 |
|---|
OneConfig() |
OneConfig(javax.servlet.FilterConfig config,
Supplier<AppContext> appContext) |
OneConfig(javax.servlet.ServletConfig config,
Supplier<AppContext> appContext) |
OneConfig(String resourceName,
InvokerConfig config,
Supplier<AppContext> appContext) |
OneConfig(String resourceName,
Map<String,String> initParams,
Supplier<AppContext> appContext) |
OneConfig(String resourceName,
Supplier<AppContext> appContext) |
| 限定符和类型 | 方法和说明 |
|---|---|
AppContext |
getAppContext() |
String |
getFilterName() |
String |
getInitParameter(String name)
Returns a
String containing the value of the
named initialization parameter, or null if
the initialization parameter does not exist. |
Enumeration<String> |
getInitParameterNames()
Returns the names of the filter's initialization parameters
as an
Enumeration of String objects,
or an empty Enumeration if the filter has
no initialization parameters. |
javax.servlet.ServletContext |
getServletContext() |
String |
getServletName() |
void |
putConfig(javax.servlet.FilterConfig config,
boolean overwrite) |
void |
putConfig(InvokerConfig config,
boolean overwrite) |
void |
putConfig(javax.servlet.ServletConfig config,
boolean overwrite) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic OneConfig()
public OneConfig(String resourceName, Supplier<AppContext> appContext)
public OneConfig(String resourceName, Map<String,String> initParams, Supplier<AppContext> appContext)
public OneConfig(javax.servlet.FilterConfig config,
Supplier<AppContext> appContext)
public OneConfig(javax.servlet.ServletConfig config,
Supplier<AppContext> appContext)
public OneConfig(String resourceName, InvokerConfig config, Supplier<AppContext> appContext)
public void putConfig(javax.servlet.FilterConfig config,
boolean overwrite)
public void putConfig(javax.servlet.ServletConfig config,
boolean overwrite)
public void putConfig(InvokerConfig config, boolean overwrite)
public String getFilterName()
getFilterName 在接口中 javax.servlet.FilterConfigpublic String getServletName()
getServletName 在接口中 javax.servlet.ServletConfigpublic javax.servlet.ServletContext getServletContext()
getServletContext 在接口中 javax.servlet.FilterConfiggetServletContext 在接口中 javax.servlet.ServletConfigpublic String getInitParameter(String name)
InvokerConfigString containing the value of the
named initialization parameter, or null if
the initialization parameter does not exist.getInitParameter 在接口中 javax.servlet.FilterConfiggetInitParameter 在接口中 javax.servlet.ServletConfiggetInitParameter 在接口中 InvokerConfigname - a String specifying the name of the
initialization parameterString containing the value of the
initialization parameter, or null if
the initialization parameter does not existpublic Enumeration<String> getInitParameterNames()
InvokerConfigEnumeration of String objects,
or an empty Enumeration if the filter has
no initialization parameters.getInitParameterNames 在接口中 javax.servlet.FilterConfiggetInitParameterNames 在接口中 javax.servlet.ServletConfiggetInitParameterNames 在接口中 InvokerConfigEnumeration of String objects
containing the names of the filter's initialization parameterspublic AppContext getAppContext()
getAppContext 在接口中 InvokerConfigCopyright © 2020. All rights reserved.