org.apache.wicket.Request.getRelativePathPrefixToWicketHandler()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(193)

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

Request.getRelativePathPrefixToWicketHandler介绍

[英]Gets a prefix to make this relative to the Wicket Servlet/Filter.

For example, if your context root is http://server.com/myApp/ and the request is for /myApp/mountedPage/, then the prefix returned might be "../".

For a particular technology, this might return either an absolute prefix or a relative one.
[中]获取一个前缀,使其与Wicket Servlet/Filter相对。
例如,如果您的上下文根是http://server.com/myApp/如果请求是/myApp/mountedPage/,那么返回的前缀可能是“./”。
对于特定技术,这可能返回绝对前缀或相对前缀。

代码示例

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * @see org.apache.wicket.Request#getRelativePathPrefixToWicketHandler()
 */
@Override
public String getRelativePathPrefixToWicketHandler()
{
  return request.getRelativePathPrefixToWicketHandler();
}

代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket

public String getRelativePathPrefixToWicketHandler()
{
  return request.getRelativePathPrefixToWicketHandler();
}

代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket

public String getRelativePathPrefixToWicketHandler()
{
  return realRequest.getRelativePathPrefixToWicketHandler();
}

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

.getRelativePathPrefixToWicketHandler() +
redirectUrl);

代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket

.getRelativePathPrefixToWicketHandler() +
redirectUrl);

代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket

prepender.prepend(requestCycle.getRequest().getRelativePathPrefixToWicketHandler());

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

prepender.prepend(requestCycle.getRequest().getRelativePathPrefixToWicketHandler());

代码示例来源:origin: org.wicketstuff/minis

prepender.prepend(requestCycle.getRequest().getRelativePathPrefixToWicketHandler());

相关文章