Java org.apache.wicket.request Url fields, constructors, methods, implement or subclass

Example usage for Java org.apache.wicket.request Url fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.wicket.request Url.

The text is from its open source code.

Constructor

Url()
Construct.
Url(final Charset charset)
Construct.
Url(final Url url)
copy constructor

Method

voidaddQueryParameter(final String name, final Object value)
Convenience method that removes adds a query parameter with given name
StringgetHost()
Gets the host name of this url
StringgetPath()
return path for current url in original encoding
ListgetQueryParameters()
Returns query parameters of the URL.
StringgetQueryString()
return query string part of url in original encoding
ListgetSegments()
Returns segments of the URL.
booleanisContextAbsolute()
Returns whether the Url is context absolute.
booleanisFull()
Returns whether the Url has a host attribute.
Urlparse(final CharSequence url)
Parses the given URL string.
Urlparse(CharSequence _url, Charset charset, boolean isFullHint)
Parses the given URL string.
Urlparse(CharSequence _url, Charset charset)
Parses the given URL string.
voidprependLeadingSegments(final List newSegments)
Convenience method that prepends segments to the segments collection
voidremoveQueryParameters(final String name)
Convenience method that removes all query parameters with given name.
voidresolveRelative(final Url relative)
Makes this url the result of resolving the relative url against this url.
voidsetHost(final String host)
Sets the host name of this url
voidsetPort(final Integer port)
Sets the port of this url
voidsetProtocol(final String protocol)
Sets the protocol of this url (http/https/etc)
voidsetQueryParameter(final String name, final Object value)
Convenience method that removes all query parameters with given name and adds new query parameter with specified name and value
StringtoString()
Renders a url with StringMode#LOCAL using the url's charset
StringtoString(StringMode mode)
Stringizes this url using the specific StringMode and url's charset
StringtoString(final Charset charset)
Stringizes this url using StringMode#LOCAL and the specified charset