本文整理了Java中org.apache.catalina.connector.Request.getMappingData
方法的一些代码示例,展示了Request.getMappingData
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.getMappingData
方法的具体详情如下:
包路径:org.apache.catalina.connector.Request
类名称:Request
方法名:getMappingData
[英]Return mapping data.
[中]返回映射数据。
代码示例来源:origin: org.glassfish.main.security/websecurity
HttpRequestWrapper(HttpRequest request, HttpServletRequest servletRequest) {
httpRequest = (Request) request;
this.servletRequest = servletRequest;
isDefaultContext = httpRequest.getMappingData().isDefaultContext;
}
// ----- HttpRequest Methods -----
代码示例来源:origin: org.jboss.jbossas/jboss-as-tomcat
/**
* Get the canonical request uri from the request mapping data requestPath
* @param request
* @return the request URI path
*/
static String requestURI(Request request)
{
String uri = request.getMappingData().requestPath.getString();
if (uri == null || uri.equals("/"))
{
uri = "";
}
return uri;
}
代码示例来源:origin: com.springsource.insight/insight-collection-tcserver
private String parseServletName(Request request) {
Wrapper wrapper = (Wrapper) request.getMappingData().wrapper;
Servlet servlet = null;
if (wrapper != null) {
servlet = wrapper.getServlet();
}
if (servlet != null) {
ServletConfig config = wrapper.getServlet().getServletConfig();
if (config != null) {
return config.getServletName();
}
}
return "Unknown";
}
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
if (getMappingData().contexts == null) {
return false;
} else {
for (int i = (getMappingData().contexts.length); i > 0; i--) {
Context ctxt = (Context) getMappingData().contexts[i - 1];
try {
if (ctxt.getManager().findSession(requestedSessionId) !=
代码示例来源:origin: codefollower/Tomcat-Research
if (getMappingData().contexts == null) {
return false;
} else {
for (int i = (getMappingData().contexts.length); i > 0; i--) {
Context ctxt = getMappingData().contexts[i - 1];
try {
if (ctxt.getManager().findSession(requestedSessionId) !=
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
if (getMappingData().contexts == null) {
return false;
} else {
for (int i = (getMappingData().contexts.length); i > 0; i--) {
Context ctxt = (Context) getMappingData().contexts[i - 1];
try {
if (ctxt.getManager().findSession(requestedSessionId) !=
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
if (getMappingData().contexts == null) {
return false;
} else {
for (int i = (getMappingData().contexts.length); i > 0; i--) {
Context ctxt = getMappingData().contexts[i - 1];
try {
if (ctxt.getManager().findSession(requestedSessionId) !=
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
if (getMappingData().contexts == null) {
return false;
} else {
for (int i = (getMappingData().contexts.length); i > 0; i--) {
Context ctxt = getMappingData().contexts[i - 1];
try {
if (ctxt.getManager().findSession(requestedSessionId) !=
代码示例来源:origin: com.tomitribe.tribestream/tribestream-container
request.getMappingData().recycle();
try {
request.getConnector().getProtocolHandler().getAdapter().service(request.getCoyoteRequest(), response.getCoyoteResponse());
} finally { // local invocations needs it to ensure we don't get a NPE for current service(), used for logAccess()
request.getMappingData().context = oldContext;
request.setContext(oldContext);
代码示例来源:origin: org.glassfish.main.web/web-core
Context context = (Context) getMappingData().context;
if (context != null && !context.getCookies()) {
return;
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
Context ctxt = (Context) request.getMappingData().context;
if (ctxt != null) {
ctxt.fireRequestDestroyEvent(request);
response.finishResponse();
req.action(ActionCode.POST_REQUEST , null);
((Context) request.getMappingData().context).logAccess(
request, response,
System.currentTimeMillis() - req.getStartTime(),
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
Context context = request.getMappingData().context;
if (context != null && !context.getServletContext()
.getEffectiveSessionTrackingModes().contains(
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
Context context = (Context) request.getMappingData().context;
if (context != null && !context.getServletContext()
.getEffectiveSessionTrackingModes().contains(
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
Context context = (Context) request.getMappingData().context;
if (context != null && !context.getServletContext()
.getEffectiveSessionTrackingModes().contains(
代码示例来源:origin: codefollower/Tomcat-Research
Context context = request.getMappingData().context;
if (context != null && !context.getServletContext()
.getEffectiveSessionTrackingModes().contains(
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
Context context = (Context) request.getMappingData().context;
if (context != null && !context.getServletContext()
.getEffectiveSessionTrackingModes().contains(
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
Context context = (Context) request.getMappingData().context;
if (context != null && !context.getServletContext()
.getEffectiveSessionTrackingModes().contains(
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
Context context = request.getMappingData().context;
if (context != null && !context.getServletContext()
.getEffectiveSessionTrackingModes().contains(
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
Context context = (Context) request.getMappingData().context;
if (context != null && !context.getServletContext()
.getEffectiveSessionTrackingModes().contains(
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
response.finishResponse();
if (postParseSuccess &&
request.getMappingData().context != null) {
((Context) request.getMappingData().context).logAccess(
request, response,
System.currentTimeMillis() - req.getStartTime(),
内容来源于网络,如有侵权,请联系作者删除!