Example usage for Java org.apache.wicket.request Url fields, constructors, methods, implement or subclass
The text is from its open source code.
Url() Construct. | |
Url(final Charset charset) Construct. | |
Url(final Url url) copy constructor |
void | addQueryParameter(final String name, final Object value) Convenience method that removes adds a query parameter with given name |
String | getHost() Gets the host name of this url |
String | getPath() return path for current url in original encoding |
List | getQueryParameters() Returns query parameters of the URL. |
String | getQueryString() return query string part of url in original encoding |
List | getSegments() Returns segments of the URL. |
boolean | isContextAbsolute() Returns whether the Url is context absolute. |
boolean | isFull() Returns whether the Url has a host attribute. |
Url | parse(final CharSequence url) Parses the given URL string. |
Url | parse(CharSequence _url, Charset charset, boolean isFullHint) Parses the given URL string. |
Url | parse(CharSequence _url, Charset charset) Parses the given URL string. |
void | prependLeadingSegments(final List Convenience method that prepends segments to the segments collection |
void | removeQueryParameters(final String name) Convenience method that removes all query parameters with given name. |
void | resolveRelative(final Url relative) Makes this url the result of resolving the relative url against this url. |
void | setHost(final String host) Sets the host name of this url |
void | setPort(final Integer port) Sets the port of this url |
void | setProtocol(final String protocol) Sets the protocol of this url (http/https/etc) |
void | setQueryParameter(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 |
String | toString() Renders a url with StringMode#LOCAL using the url's charset |
String | toString(StringMode mode) Stringizes this url using the specific StringMode and url's charset |
String | toString(final Charset charset) Stringizes this url using StringMode#LOCAL and the specified charset |