Uses of Class
org.apache.wicket.request.Url
-
Packages that use Url Package Description org.apache.wicket The core Wicket package.org.apache.wicket.cdi org.apache.wicket.core.request.mapper org.apache.wicket.csp org.apache.wicket.mock org.apache.wicket.protocol.http HTTP implementation.org.apache.wicket.protocol.http.mock org.apache.wicket.protocol.http.servlet Java Servlet specific implementation of Wicket http classes.org.apache.wicket.protocol.https org.apache.wicket.request Package for classes that have generic (protocol independent) support for request cycle processing.org.apache.wicket.request.cycle org.apache.wicket.request.handler.render org.apache.wicket.request.http org.apache.wicket.request.mapper org.apache.wicket.request.mapper.parameter org.apache.wicket.request.parameter org.apache.wicket.request.resource org.apache.wicket.resource Locale aware resouce loaders.org.apache.wicket.util.tester A package with utility classes to ease unit testing of Wicket applications without the need for a servlet container. -
-
Uses of Url in org.apache.wicket
Methods in org.apache.wicket that return Url Modifier and Type Method Description static Url
RestartResponseAtInterceptPageException. getOriginalUrl()
Url
UrlResourceReferenceMapper. mapHandler(IRequestHandler requestHandler)
-
Uses of Url in org.apache.wicket.cdi
Methods in org.apache.wicket.cdi with parameters of type Url Modifier and Type Method Description void
ConversationPropagator. onUrlMapped(RequestCycle cycle, IRequestHandler handler, Url url)
-
Uses of Url in org.apache.wicket.core.request.mapper
Methods in org.apache.wicket.core.request.mapper that return Url Modifier and Type Method Description protected abstract Url
AbstractBookmarkableMapper. buildUrl(AbstractBookmarkableMapper.UrlInfo info)
Builds URL for the givenAbstractBookmarkableMapper.UrlInfo
instance.protected Url
BookmarkableMapper. buildUrl(AbstractBookmarkableMapper.UrlInfo info)
protected Url
MountedMapper. buildUrl(AbstractBookmarkableMapper.UrlInfo info)
protected Url
PackageMapper. buildUrl(AbstractBookmarkableMapper.UrlInfo info)
protected Url
ResourceMapper. buildUrl(AbstractBookmarkableMapper.UrlInfo info)
protected Url
CryptoMapper. decryptEntireUrl(Request request, Url encryptedUrl)
Decrypts an entire URL, which was previously encrypted byCryptoMapper.encryptEntireUrl(org.apache.wicket.request.Url)
.protected Url
CryptoMapper. decryptRequestListenerParameter(Request request, Url encryptedUrl)
Decrypts a URL which may contain an encryptedPageComponentInfo
query parameter.protected Url
CryptoMapper. decryptUrl(Request request, Url encryptedUrl)
Decrypts aUrl
.protected Url
CryptoMapper. encryptEntireUrl(Url url)
Encrypts an entire URL, segments and query parameters.protected Url
CryptoMapper. encryptRequestListenerParameter(Url url)
Encrypts thePageComponentInfo
query parameter in the URL, if any is found.protected Url
CryptoMapper. encryptUrl(Url url)
Encrypts a URL.Url
AbstractBookmarkableMapper. mapHandler(IRequestHandler requestHandler)
Url
BasicResourceReferenceMapper. mapHandler(IRequestHandler requestHandler)
Url
BufferedResponseMapper. mapHandler(IRequestHandler requestHandler)
Url
CryptoMapper. mapHandler(IRequestHandler requestHandler)
Url
MountedMapper. mapHandler(IRequestHandler requestHandler)
Url
PageInstanceMapper. mapHandler(IRequestHandler requestHandler)
Url
ResourceMapper. mapHandler(IRequestHandler requestHandler)
Methods in org.apache.wicket.core.request.mapper with parameters of type Url Modifier and Type Method 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 mapperprotected Url
CryptoMapper. decryptEntireUrl(Request request, Url encryptedUrl)
Decrypts an entire URL, which was previously encrypted byCryptoMapper.encryptEntireUrl(org.apache.wicket.request.Url)
.protected Url
CryptoMapper. decryptRequestListenerParameter(Request request, Url encryptedUrl)
Decrypts a URL which may contain an encryptedPageComponentInfo
query parameter.protected Url
CryptoMapper. decryptUrl(Request request, Url encryptedUrl)
Decrypts aUrl
.protected void
AbstractComponentMapper. encodePageComponentInfo(Url url, PageComponentInfo info)
Encodes thePageComponentInfo
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 thePageComponentInfo
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 anyprotected BufferedWebResponse
BufferedResponseMapper. getAndRemoveBufferedResponse(Url url)
protected int[]
AbstractBookmarkableMapper. getMatchedSegmentSizes(Url url)
protected PageComponentInfo
AbstractComponentMapper. getPageComponentInfo(Url url)
Extracts thePageComponentInfo
from the URL.static PageComponentInfo
MapperUtils. getPageComponentInfo(Url url)
Extracts thePageComponentInfo
from the URL.protected boolean
BufferedResponseMapper. hasBufferedResponse(Url url)
protected void
ResourceMapper. removeCachingDecoration(Url url, PageParameters parameters)
protected void
AbstractComponentMapper. removeMetaParameter(Url urlCopy)
The newIRequestMapper
s use the first query parameter to hold meta information about the request like page version, component version, locale, ...protected void
AbstractResourceReferenceMapper. removeMetaParameter(Url urlCopy)
The newIRequestMapper
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-emptyprotected boolean
AbstractBookmarkableMapper. urlStartsWithMountedSegments(Url url)
-
Uses of Url in org.apache.wicket.csp
Methods in org.apache.wicket.csp that return Url Modifier and Type Method Description Url
ReportCSPViolationMapper. mapHandler(IRequestHandler requestHandler)
-
Uses of Url in org.apache.wicket.mock
Methods in org.apache.wicket.mock that return Url Modifier and Type Method Description Url
MockWebRequest. getClientUrl()
Url
MockWebRequest. getUrl()
Methods in org.apache.wicket.mock with parameters of type Url Modifier and Type Method Description MockWebRequest
MockWebRequest. cloneWithUrl(Url url)
void
MockWebRequest. setUrl(Url url)
Constructors in org.apache.wicket.mock with parameters of type Url Constructor Description MockWebRequest(Url url)
Construct.MockWebRequest(Url url, String contextPath, String filterPath, String prefixToContextPath)
Construct. -
Uses of Url in org.apache.wicket.protocol.http
Methods in org.apache.wicket.protocol.http with parameters of type Url Modifier and Type Method 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. -
Uses of Url in org.apache.wicket.protocol.http.mock
Methods in org.apache.wicket.protocol.http.mock that return Url Modifier and Type Method Description Url
MockHttpServletRequest. getUrl()
Methods in org.apache.wicket.protocol.http.mock with parameters of type Url Modifier and Type Method Description void
MockHttpServletRequest. setUrl(Url url)
-
Uses of Url in org.apache.wicket.protocol.http.servlet
Methods in org.apache.wicket.protocol.http.servlet that return Url Modifier and Type Method Description Url
ServletWebRequest. getClientUrl()
Returns base url without context or filter mapping.Url
ServletWebRequest. getUrl()
Methods in org.apache.wicket.protocol.http.servlet with parameters of type Url Modifier and Type Method Description ServletWebRequest
MultipartServletWebRequest. cloneWithUrl(Url url)
ServletWebRequest
ServletWebRequest. cloneWithUrl(Url url)
Constructors in org.apache.wicket.protocol.http.servlet with parameters of type Url Constructor Description MultipartServletWebRequest(javax.servlet.http.HttpServletRequest httpServletRequest, String filterPrefix, Url url)
Construct.ServletWebRequest(javax.servlet.http.HttpServletRequest httpServletRequest, String filterPrefix, Url url)
Construct. -
Uses of Url in org.apache.wicket.protocol.https
Methods in org.apache.wicket.protocol.https that return Url Modifier and Type Method Description Url
HttpsMapper. mapHandler(IRequestHandler handler)
-
Uses of Url in org.apache.wicket.request
Methods in org.apache.wicket.request that return Url Modifier and Type Method Description Url
Url. canonical()
Try to reduce url by eliminating '..' and '.' from the path where appropriate (this is somehow similar toFile.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 usingRequest.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.Methods in org.apache.wicket.request with parameters of type Url Modifier and Type Method Description Request
Request. cloneWithUrl(Url url)
Returns request with specified URL and same POST parameters as this request.String
IUrlRenderer. renderFullUrl(Url url, Url baseUrl)
Renders the passed url as full/absolute.String
UrlRenderer. renderFullUrl(Url url)
Renders a full URL in theprotocol://hostname:port/path
formatString
IUrlRenderer. renderRelativeUrl(Url url, Url baseUrl)
Renders the passed url as relative to a base url.String
UrlRenderer. renderRelativeUrl(Url url)
Renders the Url relative to currently set Base Url.String
UrlRenderer. renderUrl(Url url)
Renders the Urlprotected String
UrlRenderer. resolveHost(Url url)
Gets the host name that should be used to render the urlprotected Integer
UrlRenderer. resolvePort(Url url)
Gets port that should be used to render the urlprotected String
UrlRenderer. resolveProtocol(Url url)
Gets the protocol that should be used to render the urlvoid
Url. resolveRelative(Url relative)
Makes this url the result of resolving therelative
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 formConstructors in org.apache.wicket.request with parameters of type Url Constructor Description Url(Url url)
copy constructor -
Uses of Url in org.apache.wicket.request.cycle
Methods in org.apache.wicket.request.cycle that return Url Modifier and Type Method Description <C extends Page>
UrlRequestCycle. 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 ornull
if the handler couldn't have been encoded.Url
RequestCycle. mapUrlFor(ResourceReference reference, PageParameters params)
Returns aUrl
for the resource referenceMethods in org.apache.wicket.request.cycle with parameters of type Url Modifier and Type Method Description default void
IRequestCycleListener. onUrlMapped(RequestCycle cycle, IRequestHandler handler, Url url)
Called after a Url is generated for aIRequestHandler
.void
RequestCycleListenerCollection. onUrlMapped(RequestCycle cycle, IRequestHandler handler, Url url)
-
Uses of Url in org.apache.wicket.request.handler.render
Methods in org.apache.wicket.request.handler.render with parameters of type Url Modifier and Type Method Description protected void
WebPageRenderer. redirectTo(Url url, RequestCycle requestCycle)
protected BufferedWebResponse
WebPageRenderer. renderPage(Url targetUrl, RequestCycle requestCycle)
Renders page to aBufferedWebResponse
.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. -
Uses of Url in org.apache.wicket.request.http
Methods in org.apache.wicket.request.http with parameters of type Url Modifier and Type Method Description WebRequest
WebRequest. cloneWithUrl(Url url)
Returns request with specified URL and same POST parameters as this request. -
Uses of Url in org.apache.wicket.request.mapper
Methods in org.apache.wicket.request.mapper that return Url Modifier and Type Method Description protected Url
AbstractMapper. encodePageParameters(Url url, PageParameters pageParameters, IPageParametersEncoder encoder)
Encodes the givenPageParameters
to the URL using the givenIPageParametersEncoder
.Url
CompoundRequestMapper. mapHandler(IRequestHandler handler)
Searches the registeredIRequestMapper
s to find one that can map theIRequestHandler
.Url
ParentPathReferenceRewriter. mapHandler(IRequestHandler requestHandler)
Methods in org.apache.wicket.request.mapper with parameters of type Url Modifier and Type Method Description protected Url
AbstractMapper. encodePageParameters(Url url, PageParameters pageParameters, IPageParametersEncoder encoder)
Encodes the givenPageParameters
to the URL using the givenIPageParametersEncoder
.protected void
AbstractMapper. removeMetaParameter(Url urlCopy)
The newIRequestMapper
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. -
Uses of Url in org.apache.wicket.request.mapper.parameter
Methods in org.apache.wicket.request.mapper.parameter that return Url Modifier and Type Method Description Url
IPageParametersEncoder. encodePageParameters(PageParameters pageParameters)
Encode the givenPageParameters
instance into URL.Url
PageParametersEncoder. encodePageParameters(PageParameters pageParameters)
Url
UrlPathPageParametersEncoder. encodePageParameters(PageParameters params)
Methods in org.apache.wicket.request.mapper.parameter with parameters of type Url Modifier and Type Method Description PageParameters
IPageParametersEncoder. decodePageParameters(Url url)
Decodes the given URL toPageParameters
.PageParameters
PageParametersEncoder. decodePageParameters(Url url)
PageParameters
UrlPathPageParametersEncoder. decodePageParameters(Url url)
-
Uses of Url in org.apache.wicket.request.parameter
Constructors in org.apache.wicket.request.parameter with parameters of type Url Constructor Description UrlRequestParametersAdapter(Url url)
Construct. -
Uses of Url in org.apache.wicket.request.resource
Methods in org.apache.wicket.request.resource that return Url Modifier and Type Method Description Url
UrlResourceReference. getUrl()
Url
MetaInfStaticResourceReference. mapHandler(IRequestHandler requestHandler)
Returns theUrl
for givenIRequestHandler
if "/META-INF/resources" Servlet 3.0 feature is supported ornull
if not (so standard url mapping can take place).Constructors in org.apache.wicket.request.resource with parameters of type Url Constructor Description UrlResourceReference(Url url)
Constructor. -
Uses of Url in org.apache.wicket.resource
Methods in org.apache.wicket.resource with parameters of type Url Modifier and Type Method 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. -
Uses of Url in org.apache.wicket.util.tester
Methods in org.apache.wicket.util.tester that return Url Modifier and Type Method Description Url
BaseWicketTester. urlFor(AjaxLink<?> link)
Url
BaseWicketTester. urlFor(IRequestHandler handler)
Encodes theIRequestHandler
toUrl
.Methods in org.apache.wicket.util.tester with parameters of type Url Modifier and Type Method Description void
BaseWicketTester. executeAjaxUrl(Url url)
-