| Package | Description |
|---|---|
| org.apache.wicket.request |
Package for classes that have generic (protocol independent) support for request cycle processing.
|
| org.apache.wicket.request.http | |
| org.apache.wicket.request.mapper | |
| org.apache.wicket.request.mapper.mount | |
| org.apache.wicket.request.mapper.parameter | |
| org.apache.wicket.request.parameter |
| Modifier and Type | Method and Description |
|---|---|
Url |
Url.canonical()
Try to reduce url by eliminating '..' and '.' from the path where appropriate (this is
somehow similar to
File.getCanonicalPath()). |
Url |
UrlRenderer.getBaseUrl()
Returns the base Url.
|
abstract Url |
Request.getClientUrl()
Returns the url against which the client, usually the browser, will resolve relative urls in
the rendered markup.
|
Url |
Request.getOriginalUrl()
In case this request has been created using
Request.cloneWithUrl(Url), this method should
return the original URL. |
abstract Url |
Request.getUrl()
Returns the URL for this request.
|
Url |
IRequestMapper.mapHandler(IRequestHandler requestHandler)
|
static Url |
Url.parse(CharSequence url)
Parses the given URL string.
|
static Url |
Url.parse(CharSequence _url,
Charset charset)
Parses the given URL string.
|
static Url |
Url.parse(CharSequence _url,
Charset charset,
boolean isFullHint)
Parses the given URL string.
|
Url |
UrlRenderer.setBaseUrl(Url base)
Sets the base Url.
|
| Modifier and Type | Method and Description |
|---|---|
Request |
Request.cloneWithUrl(Url url)
Returns request with specified URL and same POST parameters as this request.
|
String |
UrlRenderer.renderFullUrl(Url url)
Renders a full URL in the
protocol://hostname:port/path format |
String |
IUrlRenderer.renderFullUrl(Url url,
Url baseUrl)
Renders the passed url as full/absolute.
|
String |
UrlRenderer.renderRelativeUrl(Url url)
Renders the Url relative to currently set Base Url.
|
String |
IUrlRenderer.renderRelativeUrl(Url url,
Url baseUrl)
Renders the passed url as relative to a base url.
|
String |
UrlRenderer.renderUrl(Url url)
Renders the Url
|
protected String |
UrlRenderer.resolveHost(Url url)
Gets the host name that should be used to render the url
|
protected Integer |
UrlRenderer.resolvePort(Url url)
Gets port that should be used to render the url
|
protected String |
UrlRenderer.resolveProtocol(Url url)
Gets the protocol that should be used to render the url
|
void |
Url.resolveRelative(Url relative)
Makes this url the result of resolving the
relative url against this url. |
Url |
UrlRenderer.setBaseUrl(Url base)
Sets the base Url.
|
protected boolean |
UrlRenderer.shouldRenderAsFull(Url url)
Determines whether a URL should be rendered in its full form
|
| Constructor and Description |
|---|
Url(Url url)
copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
WebRequest |
WebRequest.cloneWithUrl(Url url)
Returns request with specified URL and same POST parameters as this request.
|
| Modifier and Type | Method and Description |
|---|---|
protected Url |
AbstractMapper.encodePageParameters(Url url,
PageParameters pageParameters,
IPageParametersEncoder encoder)
Encodes the given
PageParameters to the URL using the given
IPageParametersEncoder. |
Url |
ParentPathReferenceRewriter.mapHandler(IRequestHandler requestHandler)
|
Url |
CompoundRequestMapper.mapHandler(IRequestHandler handler)
Searches the registered
IRequestMappers to find one that can map the
IRequestHandler. |
| Modifier and Type | Method and Description |
|---|---|
protected Url |
AbstractMapper.encodePageParameters(Url url,
PageParameters pageParameters,
IPageParametersEncoder encoder)
Encodes the given
PageParameters to the URL using the given
IPageParametersEncoder. |
protected void |
AbstractMapper.removeMetaParameter(Url urlCopy)
The new
IRequestMappers use the first query parameter to hold meta information about
the request like page version, component version, locale, ... |
protected boolean |
AbstractMapper.urlStartsWith(Url url,
String... segments)
Returns true if the given url starts with specified segments.
|
| Modifier and Type | Method and Description |
|---|---|
Url |
Mount.getUrl()
Deprecated.
|
Url |
MountMapper.mapHandler(IRequestHandler handler)
Deprecated.
|
| Constructor and Description |
|---|
Mount(Url url)
Deprecated.
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
Url |
UrlPathPageParametersEncoder.encodePageParameters(PageParameters params) |
Url |
PageParametersEncoder.encodePageParameters(PageParameters pageParameters) |
Url |
IPageParametersEncoder.encodePageParameters(PageParameters pageParameters)
Encode the given
PageParameters instance into URL. |
| Modifier and Type | Method and Description |
|---|---|
PageParameters |
UrlPathPageParametersEncoder.decodePageParameters(Url url) |
PageParameters |
PageParametersEncoder.decodePageParameters(Url url) |
PageParameters |
IPageParametersEncoder.decodePageParameters(Url url)
Decodes the given URL to
PageParameters. |
| Constructor and Description |
|---|
UrlRequestParametersAdapter(Url url)
Construct.
|
Copyright © 2006–2014 Apache Software Foundation. All rights reserved.