org.apache.catalina.connector.Request.setPathInfo()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(96)

本文整理了Java中org.apache.catalina.connector.Request.setPathInfo方法的一些代码示例,展示了Request.setPathInfo的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.setPathInfo方法的具体详情如下:
包路径:org.apache.catalina.connector.Request
类名称:Request
方法名:setPathInfo

Request.setPathInfo介绍

[英]Set the path information for this Request. This will normally be called when the associated Context is mapping the Request to a particular Wrapper.
[中]设置此请求的路径信息。当关联的上下文将请求映射到特定的包装器时,通常会调用该函数。

代码示例

代码示例来源:origin: org.glassfish.main.security/websecurity

public void setPathInfo(String path) {
  httpRequest.setPathInfo(path);
}

代码示例来源:origin: tomcat/catalina

container.getLogger().debug("Processing " + errorPage);
request.setPathInfo(errorPage.getLocation());

代码示例来源:origin: jboss.web/jbossweb

container.getLogger().debug("Processing " + errorPage);
request.setPathInfo(errorPage.getLocation());

代码示例来源:origin: org.jboss.web/jbossweb

container.getLogger().debug("Processing " + errorPage);
request.setPathInfo(errorPage.getLocation());

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

container.getLogger().debug("Processing " + errorPage);
request.setPathInfo(errorPage.getLocation());

代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9

container.getLogger().debug("Processing " + errorPage);
request.setPathInfo(errorPage.getLocation());

代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9

container.getLogger().debug("Processing " + errorPage);
request.setPathInfo(errorPage.getLocation());

相关文章

微信公众号

最新文章

更多

Request类方法