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

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

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

Request.getOriginalUrl介绍

[英]In case this request has been created using #cloneWithUrl(Url), this method should return the original URL.
[中]如果此请求是使用#cloneWithUrl(Url)创建的,则此方法应返回原始Url。

代码示例

代码示例来源:origin: apache/wicket

@Override
public Url getOriginalUrl()
{
  return Request.this.getOriginalUrl();
}

代码示例来源:origin: org.apache.wicket/wicket-request

@Override
public Url getOriginalUrl()
{
  return Request.this.getOriginalUrl();
}

代码示例来源:origin: org.apache.wicket/wicket-core

private InterceptData matchedData(Request request)
  {
    InterceptData data = InterceptData.get();
    if (data != null && data.originalUrl.equals(request.getOriginalUrl()))
    {
      return data;
    }
    return null;
  }
};

代码示例来源:origin: apache/wicket

private InterceptData matchedData(Request request)
  {
    InterceptData data = InterceptData.get();
    if (data != null && data.originalUrl.equals(request.getOriginalUrl()))
    {
      return data;
    }
    return null;
  }
};

代码示例来源:origin: org.apache.wicket/wicket-core

InterceptData data = new InterceptData();
Request request = RequestCycle.get().getRequest();
data.originalUrl = request.getOriginalUrl();
Iterator<QueryParameter> itor = data.originalUrl.getQueryParameters().iterator();
while (itor.hasNext())

代码示例来源:origin: apache/wicket

InterceptData data = new InterceptData();
Request request = RequestCycle.get().getRequest();
data.originalUrl = request.getOriginalUrl();
Iterator<QueryParameter> itor = data.originalUrl.getQueryParameters().iterator();
while (itor.hasNext())

代码示例来源:origin: org.apache.wicket/wicket-core

if (request.getOriginalUrl().getSegments().size() > 0
  && request.getOriginalUrl().getSegments().get(0).equals(getContext().getNamespace()))

代码示例来源:origin: apache/wicket

if (request.getOriginalUrl().getSegments().size() > 0
  && request.getOriginalUrl().getSegments().get(0).equals(getContext().getNamespace()))

代码示例来源:origin: org.opensingular/singular-server-module

public DispatcherPage() {
  buildPage();
  dispatch(setFormNameActionContext(new ActionContext(getRequest().getOriginalUrl().getQueryString())));
}

代码示例来源:origin: org.opensingular/singular-requirement-module

public DispatcherPage() {
  buildPage();
  dispatch(setFormNameActionContext(new ActionContext(getRequest().getOriginalUrl().getQueryString())));
}

代码示例来源:origin: org.apache.wicket/wicket-core

if (request.getOriginalUrl().getQueryParameter(qp.getName()) == null)

代码示例来源:origin: apache/wicket

if (request.getOriginalUrl().getQueryParameter(qp.getName()) == null)

相关文章