本文整理了Java中javax.servlet.http.HttpServletRequestWrapper.getRequestURI()
方法的一些代码示例,展示了HttpServletRequestWrapper.getRequestURI()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HttpServletRequestWrapper.getRequestURI()
方法的具体详情如下:
包路径:javax.servlet.http.HttpServletRequestWrapper
类名称:HttpServletRequestWrapper
方法名:getRequestURI
[英]The default behavior of this method is to return getRequestURI() on the wrapped request object.
[中]此方法的默认行为是在包装的请求对象上返回getRequestURI()。
代码示例来源:origin: cloudfoundry/uaa
@Override
public String getRequestURI() {
return super.getRequestURI();
}
代码示例来源:origin: com.atlassian.jira/jira-core
@Override
public String getRequestURI()
{
String requestURI = super.getRequestURI();
return requestURI;
}
代码示例来源:origin: org.springframework.extensions.surf/spring-surf
public String getRequestURI()
{
String value = null;
if (requestUri != null)
{
value = requestUri;
}
else
{
value = super.getRequestURI();
}
return value;
}
代码示例来源:origin: org.apache.knox/gateway-server
@Override
public String getRequestURI() {
return contextpath + super.getRequestURI();
}
代码示例来源:origin: org.alfresco.surf/spring-surf
public String getRequestURI()
{
String value = null;
if (requestUri != null)
{
value = requestUri;
}
else
{
value = super.getRequestURI();
}
return value;
}
代码示例来源:origin: apache/knox
@Override
public String getRequestURI() {
return contextpath + super.getRequestURI();
}
代码示例来源:origin: com.github.wuic/wuic-servlet
/**
* {@inheritDoc}
*/
@Override
public String getRequestURI() {
// Synchronized access
synchronized (mutex) {
return super.getRequestURI();
}
}
代码示例来源:origin: io.github.dheid/wings
@Override
public String getRequestURI() {
return super.getRequestURI();
}
代码示例来源:origin: org.codelibs/jhighlight
public String getRequestURI()
{
String uri = super.getRequestURI();
return uri.substring(0, uri.length() - 1);
}
代码示例来源:origin: com.uwyn/jhighlight
public String getRequestURI()
{
String uri = super.getRequestURI();
return uri.substring(0, uri.length() - 1);
}
代码示例来源:origin: org.geoserver.community/gs-wfs3
@Override
public String getRequestURI() {
String requestURI = super.getRequestURI();
return requestURI.substring(0, requestURI.length() - pathInfo.length());
}
代码示例来源:origin: apache/felix
@Override
public String getRequestURI()
{
if ( isInclusionDispatcher() )
{
return super.getRequestURI();
}
return this.requestInfo.requestURI;
}
代码示例来源:origin: Jasig/uPortal
@Override
public String getRequestURI() {
this.checkState();
return super.getRequestURI();
}
代码示例来源:origin: org.sakaiproject.kernel/sakai-kernel-impl
@Override
public String getRequestURI() {
String uri = null;
if (requestURI == null) {
uri = super.getRequestURI();
} else {
uri = requestURI;
}
// now attempt to autofix the URL
uri += getURLSuffix(uri);
return uri;
}
代码示例来源:origin: org.apache.wink/wink-server
@Override
public String getRequestURI() {
return getCorrectRequest().getRequestURI();
}
代码示例来源:origin: org.apache.felix/org.apache.felix.http.base
@Override
public String getRequestURI()
{
if ( isInclusionDispatcher() )
{
return super.getRequestURI();
}
return this.requestInfo.requestURI;
}
代码示例来源:origin: org.jasig.portal/uPortal-rendering
@Override
public String getRequestURI() {
this.checkState();
return super.getRequestURI();
}
代码示例来源:origin: org.seleniumhq.selenium.server/selenium-server-coreless
public String getRequestURI()
{
if (_filterType==Dispatcher.__INCLUDE || isNamed())
return super.getRequestURI();
return URI.addPaths(_contextPath,_uriInContext);
}
代码示例来源:origin: org.seleniumhq.selenium/jetty-rc-repacked
public String getRequestURI()
{
if (_filterType==Dispatcher.__INCLUDE || isNamed())
return super.getRequestURI();
return URI.addPaths(_contextPath,_uriInContext);
}
代码示例来源:origin: org.jvnet.hudson.winstone/winstone
public String getRequestURI() {
if (hasBeenForwarded()) {
return super.getRequestURI();
} else {
String contextPath = this.oldRequest.getContextPath();
String servletPath = this.oldRequest.getServletPath();
String pathInfo = this.oldRequest.getPathInfo();
String queryString = this.oldRequest.getQueryString();
return contextPath + servletPath + ((pathInfo == null) ? "" : pathInfo)
+ ((queryString == null) ? "" : ("?" + queryString));
}
}
内容来源于网络,如有侵权,请联系作者删除!