本文整理汇总了Java中org.apache.catalina.util.ParameterMap.setLocked方法的典型用法代码示例。如果您正苦于以下问题:Java ParameterMap.setLocked方法的具体用法?Java ParameterMap.setLocked怎么用?Java ParameterMap.setLocked使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.catalina.util.ParameterMap
的用法示例。
在下文中一共展示了ParameterMap.setLocked方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getInitParameters
import org.apache.catalina.util.ParameterMap; //导入方法依赖的package包/类
@Override
public Map<String, String> getInitParameters() {
ParameterMap<String,String> result = new ParameterMap<String,String>();
String[] parameterNames = wrapper.findInitParameters();
for (String parameterName : parameterNames) {
result.put(parameterName, wrapper.findInitParameter(parameterName));
}
result.setLocked(true);
return result;
}
示例2: getInitParameters
import org.apache.catalina.util.ParameterMap; //导入方法依赖的package包/类
@Override
public Map<String, String> getInitParameters() {
ParameterMap<String,String> result = new ParameterMap<String,String>();
result.putAll(filterDef.getParameterMap());
result.setLocked(true);
return result;
}
示例3: recycle
import org.apache.catalina.util.ParameterMap; //导入方法依赖的package包/类
/**
* Release all object references, and initialize instance variables, in
* preparation for reuse of this object.
*/
public void recycle() {
context = null;
wrapper = null;
dispatcherType = null;
requestDispatcherPath = null;
comet = false;
if (event != null) {
event.clear();
event = null;
}
authType = null;
inputBuffer.recycle();
usingInputStream = false;
usingReader = false;
userPrincipal = null;
subject = null;
sessionParsed = false;
parametersParsed = false;
cookiesParsed = false;
locales.clear();
localesParsed = false;
secure = false;
remoteAddr = null;
remoteHost = null;
remotePort = -1;
localPort = -1;
localAddr = null;
localName = null;
attributes.clear();
notes.clear();
cookies = null;
if (session != null) {
session.endAccess();
}
session = null;
requestedSessionCookie = false;
requestedSessionId = null;
requestedSessionURL = false;
if (Globals.IS_SECURITY_ENABLED || Connector.RECYCLE_FACADES) {
parameterMap = new ParameterMap();
} else {
parameterMap.setLocked(false);
parameterMap.clear();
}
mappingData.recycle();
if (Globals.IS_SECURITY_ENABLED || Connector.RECYCLE_FACADES) {
if (facade != null) {
facade.clear();
facade = null;
}
if (inputStream != null) {
inputStream.clear();
inputStream = null;
}
if (reader != null) {
reader.clear();
reader = null;
}
}
}
示例4: getInitParameters
import org.apache.catalina.util.ParameterMap; //导入方法依赖的package包/类
@Override
public Map<String, String> getInitParameters() {
ParameterMap<String, String> result = new ParameterMap<String, String>();
String[] parameterNames = wrapper.findInitParameters();
for (String parameterName : parameterNames) {
result.put(parameterName, wrapper.findInitParameter(parameterName));
}
result.setLocked(true);
return result;
}
示例5: getInitParameters
import org.apache.catalina.util.ParameterMap; //导入方法依赖的package包/类
@Override
public Map<String, String> getInitParameters() {
ParameterMap<String, String> result = new ParameterMap<String, String>();
result.putAll(filterDef.getParameterMap());
result.setLocked(true);
return result;
}