本文整理汇总了Java中org.apache.catalina.util.ParameterMap类的典型用法代码示例。如果您正苦于以下问题:Java ParameterMap类的具体用法?Java ParameterMap怎么用?Java ParameterMap使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ParameterMap类属于org.apache.catalina.util包,在下文中一共展示了ParameterMap类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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;
}
开发者ID:sdw2330976,项目名称:apache-tomcat-7.0.57,代码行数:14,代码来源:ApplicationServletRegistration.java
示例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;
}
开发者ID:sdw2330976,项目名称:apache-tomcat-7.0.57,代码行数:8,代码来源:ApplicationFilterRegistration.java
示例3: parseParameters
import org.apache.catalina.util.ParameterMap; //导入依赖的package包/类
/**
* Parses the parameters of this request.
*
* If parameters are present in both the query string and the request
* content, they are merged.
*/
void parseParameters() {
if (parsedParams) {
return;
}
parameters = new ParameterMap<String, String[]>();
parameters.putAll(getRequest().getParameterMap());
mergeParameters();
((ParameterMap<String,String[]>) parameters).setLocked(true);
parsedParams = true;
}
开发者ID:liaokailin,项目名称:tomcat7,代码行数:19,代码来源:ApplicationHttpRequest.java
示例4: 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;
}
}
}
开发者ID:lamsfoundation,项目名称:lams,代码行数:75,代码来源:Request.java
示例5: 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;
}
开发者ID:how2j,项目名称:lazycat,代码行数:14,代码来源:ApplicationServletRegistration.java
示例6: parseParameters
import org.apache.catalina.util.ParameterMap; //导入依赖的package包/类
/**
* Parses the parameters of this request.
*
* If parameters are present in both the query string and the request
* content, they are merged.
*/
void parseParameters() {
if (parsedParams) {
return;
}
parameters = new ParameterMap<String, String[]>();
parameters.putAll(getRequest().getParameterMap());
mergeParameters();
((ParameterMap<String, String[]>) parameters).setLocked(true);
parsedParams = true;
}
开发者ID:how2j,项目名称:lazycat,代码行数:19,代码来源:ApplicationHttpRequest.java
示例7: 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;
}
开发者ID:how2j,项目名称:lazycat,代码行数:8,代码来源:ApplicationFilterRegistration.java
注:本文中的org.apache.catalina.util.ParameterMap类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论