Modifier and Type | Method and Description |
---|---|
static Url |
RestartResponseAtInterceptPageException.getOriginalUrl() |
Url |
UrlResourceReferenceMapper.mapHandler(IRequestHandler requestHandler) |
Modifier and Type | Method and Description |
---|---|
void |
ConversationPropagator.onUrlMapped(RequestCycle cycle,
IRequestHandler handler,
Url url) |
Modifier and Type | Method and Description |
---|---|
protected Url |
PackageMapper.buildUrl(AbstractBookmarkableMapper.UrlInfo info) |
protected Url |
ResourceMapper.buildUrl(AbstractBookmarkableMapper.UrlInfo info) |
protected Url |
BookmarkableMapper.buildUrl(AbstractBookmarkableMapper.UrlInfo info) |
protected abstract Url |
AbstractBookmarkableMapper.buildUrl(AbstractBookmarkableMapper.UrlInfo info)
Builds URL for the given
AbstractBookmarkableMapper.UrlInfo instance. |
protected Url |
MountedMapper.buildUrl(AbstractBookmarkableMapper.UrlInfo info) |
protected Url |
CryptoMapper.decryptEntireUrl(Request request,
Url encryptedUrl)
Decrypts an entire URL, which was previously encrypted by
CryptoMapper.encryptEntireUrl(org.apache.wicket.request.Url) . |
protected Url |
CryptoMapper.decryptRequestListenerParameter(Request request,
Url encryptedUrl)
Decrypts a URL which may contain an encrypted
PageComponentInfo query parameter. |
protected Url |
CryptoMapper.decryptUrl(Request request,
Url encryptedUrl)
Decrypts a
Url . |
protected Url |
CryptoMapper.encryptEntireUrl(Url url)
Encrypts an entire URL, segments and query parameters.
|
protected Url |
CryptoMapper.encryptRequestListenerParameter(Url url)
Encrypts the
PageComponentInfo query parameter in the URL, if any is found. |
protected Url |
CryptoMapper.encryptUrl(Url url)
Encrypts a URL.
|
Url |
PageInstanceMapper.mapHandler(IRequestHandler requestHandler) |
Url |
ResourceMapper.mapHandler(IRequestHandler requestHandler) |
Url |
CryptoMapper.mapHandler(IRequestHandler requestHandler) |
Url |
AbstractBookmarkableMapper.mapHandler(IRequestHandler requestHandler) |
Url |
BasicResourceReferenceMapper.mapHandler(IRequestHandler requestHandler) |
Url |
MountedMapper.mapHandler(IRequestHandler requestHandler) |
Url |
BufferedResponseMapper.mapHandler(IRequestHandler requestHandler) |
Modifier and Type | Method and Description |
---|---|
protected void |
ResourceMapper.addCachingDecoration(Url url,
PageParameters parameters) |
protected boolean |
BasicResourceReferenceMapper.canBeHandled(Url url)
Checks whether the passed Url can be handled by this mapper
|
protected Url |
CryptoMapper.decryptEntireUrl(Request request,
Url encryptedUrl)
Decrypts an entire URL, which was previously encrypted by
CryptoMapper.encryptEntireUrl(org.apache.wicket.request.Url) . |
protected Url |
CryptoMapper.decryptRequestListenerParameter(Request request,
Url encryptedUrl)
Decrypts a URL which may contain an encrypted
PageComponentInfo query parameter. |
protected Url |
CryptoMapper.decryptUrl(Request request,
Url encryptedUrl)
Decrypts a
Url . |
protected void |
AbstractComponentMapper.encodePageComponentInfo(Url url,
PageComponentInfo info)
Encodes the
PageComponentInfo instance as the first query string parameter to the
URL. |
protected Url |
CryptoMapper.encryptEntireUrl(Url url)
Encrypts an entire URL, segments and query parameters.
|
protected Url |
CryptoMapper.encryptRequestListenerParameter(Url url)
Encrypts the
PageComponentInfo query parameter in the URL, if any is found. |
protected Url |
CryptoMapper.encryptUrl(Url url)
Encrypts a URL.
|
protected PageParameters |
AbstractBookmarkableMapper.extractPageParameters(Request request,
Url url)
Extracts the PageParameters from URL if there are any
|
protected BufferedWebResponse |
BufferedResponseMapper.getAndRemoveBufferedResponse(Url url) |
protected int[] |
AbstractBookmarkableMapper.getMatchedSegmentSizes(Url url) |
protected PageComponentInfo |
AbstractComponentMapper.getPageComponentInfo(Url url)
Extracts the
PageComponentInfo from the URL. |
static PageComponentInfo |
MapperUtils.getPageComponentInfo(Url url)
Extracts the
PageComponentInfo from the URL. |
protected boolean |
BufferedResponseMapper.hasBufferedResponse(Url url) |
protected void |
ResourceMapper.removeCachingDecoration(Url url,
PageParameters parameters) |
protected void |
AbstractResourceReferenceMapper.removeMetaParameter(Url urlCopy)
The new
IRequestMapper s use the first query parameter to hold meta information about
the request like page version, component version, locale, ... |
protected void |
AbstractComponentMapper.removeMetaParameter(Url urlCopy)
The new
IRequestMapper s use the first query parameter to hold meta information about
the request like page version, component version, locale, ... |
protected boolean |
AbstractBookmarkableMapper.setPlaceholders(PageParameters parameters,
Url url)
Replaces mandatory and optional parameters with their values.
|
protected boolean |
BookmarkableMapper.urlStartsWithAndHasPageClass(Url url,
String... segments)
Checks whether the url starts with the given segments and additionally
checks whether the following segment is non-empty
|
protected boolean |
AbstractBookmarkableMapper.urlStartsWithMountedSegments(Url url) |
Modifier and Type | Method and Description |
---|---|
Url |
CustomHomeMapper.mapHandler(IRequestHandler requestHandler)
Sets the current session Locale as first segment in the Url.
|
Url |
LocaleFirstMapper.mapHandler(IRequestHandler handler) |
Modifier and Type | Method and Description |
---|---|
Url |
MockWebRequest.getClientUrl() |
Url |
MockWebRequest.getUrl() |
Modifier and Type | Method and Description |
---|---|
MockWebRequest |
MockWebRequest.cloneWithUrl(Url url) |
void |
MockWebRequest.setUrl(Url url) |
Constructor and Description |
---|
MockWebRequest(Url url)
Construct.
|
MockWebRequest(Url url,
String contextPath,
String filterPath,
String prefixToContextPath)
Construct.
|
Modifier and Type | Method and Description |
---|---|
BufferedWebResponse |
WebApplication.getAndRemoveBufferedResponse(String sessionId,
Url url)
Retrieves a stored buffered response for a given sessionId and url.
|
boolean |
WebApplication.hasBufferedResponse(String sessionId,
Url url) |
void |
WebApplication.storeBufferedResponse(String sessionId,
Url url,
BufferedWebResponse response)
Store the buffered response at application level to use it at a later time.
|
Modifier and Type | Method and Description |
---|---|
Url |
MockHttpServletRequest.getUrl() |
Modifier and Type | Method and Description |
---|---|
void |
MockHttpServletRequest.setUrl(Url url) |
Modifier and Type | Method and Description |
---|---|
Url |
ServletWebRequest.getClientUrl()
Returns base url without context or filter mapping.
|
Url |
ServletWebRequest.getUrl() |
Modifier and Type | Method and Description |
---|---|
ServletWebRequest |
MultipartServletWebRequest.cloneWithUrl(Url url) |
ServletWebRequest |
ServletWebRequest.cloneWithUrl(Url url) |
Constructor and Description |
---|
MultipartServletWebRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
String filterPrefix,
Url url)
Construct.
|
ServletWebRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
String filterPrefix,
Url url)
Construct.
|
Modifier and Type | Method and Description |
---|---|
Url |
HttpsMapper.mapHandler(IRequestHandler handler) |
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 |
---|---|
<C extends Page> |
RequestCycle.mapUrlFor(Class<C> pageClass,
PageParameters parameters)
Returns a bookmarkable URL that references a given page class using a given set of page
parameters.
|
Url |
RequestCycle.mapUrlFor(IRequestHandler handler)
Returns URL for the request handler or
null if the handler couldn't have been
encoded. |
Url |
RequestCycle.mapUrlFor(ResourceReference reference,
PageParameters params)
Returns a
Url for the resource reference |
Modifier and Type | Method and Description |
---|---|
default void |
IRequestCycleListener.onUrlMapped(RequestCycle cycle,
IRequestHandler handler,
Url url)
Called after a Url is generated for a
IRequestHandler . |
void |
RequestCycleListenerCollection.onUrlMapped(RequestCycle cycle,
IRequestHandler handler,
Url url) |
void |
AbstractRequestCycleListener.onUrlMapped(RequestCycle cycle,
IRequestHandler handler,
Url url)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WebPageRenderer.redirectTo(Url url,
RequestCycle requestCycle) |
protected BufferedWebResponse |
WebPageRenderer.renderPage(Url targetUrl,
RequestCycle requestCycle)
Renders page to a
BufferedWebResponse . |
protected boolean |
WebPageRenderer.shouldRedirectToTargetUrl(RequestCycle cycle,
Url currentUrl,
Url targetUrl)
Should the client be redirected to target url.
|
protected boolean |
WebPageRenderer.shouldRenderPageAndWriteResponse(RequestCycle cycle,
Url currentUrl,
Url targetUrl)
Should the page be rendered immediately.
|
protected void |
WebPageRenderer.storeBufferedResponse(Url url,
BufferedWebResponse response)
Store the buffered response at application level.
|
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 |
CompoundRequestMapper.mapHandler(IRequestHandler handler)
Searches the registered
IRequestMapper s to find one that can map the
IRequestHandler . |
Url |
ParentPathReferenceRewriter.mapHandler(IRequestHandler requestHandler)
|
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
IRequestMapper s 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 |
PageParametersEncoder.encodePageParameters(PageParameters pageParameters) |
Url |
UrlPathPageParametersEncoder.encodePageParameters(PageParameters params) |
Url |
IPageParametersEncoder.encodePageParameters(PageParameters pageParameters)
Encode the given
PageParameters instance into URL. |
Modifier and Type | Method and Description |
---|---|
PageParameters |
PageParametersEncoder.decodePageParameters(Url url) |
PageParameters |
UrlPathPageParametersEncoder.decodePageParameters(Url url) |
PageParameters |
IPageParametersEncoder.decodePageParameters(Url url)
Decodes the given URL to
PageParameters . |
Constructor and Description |
---|
UrlRequestParametersAdapter(Url url)
Construct.
|
Modifier and Type | Method and Description |
---|---|
Url |
UrlResourceReference.getUrl() |
Url |
MetaInfStaticResourceReference.mapHandler(IRequestHandler requestHandler)
Returns the
Url for given IRequestHandler if "/META-INF/resources" Servlet
3.0 feature is supported or null if not (so standard url mapping can take
place). |
Constructor and Description |
---|
UrlResourceReference(Url url)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static ResourceReference.UrlAttributes |
ResourceUtil.decodeResourceReferenceAttributes(Url url)
Reads resource reference attributes (style, locale, variation) encoded in the given URL.
|
static void |
ResourceUtil.encodeResourceReferenceAttributes(Url url,
ResourceReference reference)
Encodes the attributes of the given resource reference in the specified url.
|
Modifier and Type | Method and Description |
---|---|
Url |
BaseWicketTester.urlFor(AjaxLink<?> link) |
Url |
BaseWicketTester.urlFor(IRequestHandler handler)
Encodes the
IRequestHandler to Url . |
Modifier and Type | Method and Description |
---|---|
void |
BaseWicketTester.executeAjaxUrl(Url url) |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.