SlingUrl |
SlingUrl.addParameter(String name,
String... value) |
|
SlingUrl |
SlingUrl.addParameters(String parameterString,
boolean decode) |
Adds parameters parsed from an HTTP query string.
|
SlingUrl |
SlingUrl.addSelector(@Nullable String... value) |
|
SlingUrl |
SlingUrl.clearParameters() |
|
SlingUrl |
SlingUrl.clearSelectors() |
|
SlingUrl |
SlingUrl.clone() |
|
SlingUrl |
SlingUrl.extension(@Nullable String extension) |
|
@NotNull SlingUrl |
SlingUrl.fragment(@Nullable String fragment) |
Sets the fragment part of the URL.
|
@NotNull SlingUrl |
SlingUrl.fromPath(@NotNull String resourcePath) |
Initializes the SlingUrl from a resource path, absolute or relative.
|
SlingUrl |
SlingUrl.fromPathOrUrl(@NotNull String pathOrUrl) |
Initializes from an url or an absolute resource path.
|
SlingUrl |
SlingUrl.fromPathOrUrl(@NotNull String pathOrUrl,
boolean decode) |
Initializes from an url or an absolute resource path, possibly URL-decoding it when decode = true.
|
@NotNull SlingUrl |
SlingUrl.fromRequest(javax.servlet.http.HttpServletRequest request) |
Initialzes the SlingUrl from a requests URL
|
SlingUrl |
SlingUrl.fromUri(@NotNull URI uri) |
Assigns from the given uri, trying to parse extension and suffix from it.
|
@NotNull SlingUrl |
SlingUrl.fromUrl(@NotNull String url) |
Parses the url.
|
@NotNull SlingUrl |
SlingUrl.fromUrl(@NotNull String url,
boolean decode) |
Parses the url, possibly URL-decoding it when decode = true.
|
@NotNull SlingUrl |
SlingUrl.host(@Nullable String host) |
Sets the host part of the URL.
|
@NotNull SlingUrl |
SlingUrl.name(@Nullable String name) |
Sets the filename; in case of type OTHER this contains the whole URL but the scheme and colon.
|
SlingUrl |
SlingUrl.parameter(String name,
String... value) |
|
SlingUrl |
SlingUrl.parameters(String parameterString) |
|
@NotNull SlingUrl |
SlingUrl.password(@Nullable String password) |
Sets the password part of an URL.
|
@NotNull SlingUrl |
SlingUrl.port(@Nullable Integer port) |
Sets the port part of the URL.
|
SlingUrl |
SlingUrl.removeParameter(String name) |
|
SlingUrl |
SlingUrl.removeSelector(String... value) |
|
SlingUrl |
SlingUrl.resourcePath(@Nullable String resourcePath) |
Sets the resource path encoded in the URL to the given path.
|
@NotNull SlingUrl |
SlingUrl.scheme(@Nullable String scheme) |
Sets the scheme part of an URL.
|
SlingUrl |
SlingUrl.selector(@Nullable String... value) |
|
SlingUrl |
SlingUrl.selectors(@Nullable String selectors) |
|
SlingUrl |
SlingUrl.setExtension(@Nullable String extension) |
|
@NotNull SlingUrl |
SlingUrl.setFragment(@Nullable String fragment) |
Sets the fragment.
|
@NotNull SlingUrl |
SlingUrl.setHost(@Nullable String host) |
Sets the host part of the URL.
|
@NotNull SlingUrl |
SlingUrl.setName(@Nullable String name) |
Sets the name.
|
SlingUrl |
SlingUrl.setParameter(String name,
String... value) |
|
SlingUrl |
SlingUrl.setParameters(String parameterString,
boolean decode) |
|
@NotNull SlingUrl |
SlingUrl.setPassword(@Nullable String password) |
Sets the password.
|
SlingUrl |
SlingUrl.setPathAndName(@Nullable String fullpath) |
Sets the path and name from the given e.g.
|
SlingUrl |
SlingUrl.setPathAndNameExt(@Nullable String fullpath) |
Sets the path, name and extension from the given e.g.
|
@NotNull SlingUrl |
SlingUrl.setPort(@Nullable Integer port) |
Sets the port.
|
SlingUrl |
SlingUrl.setResourcePath(@Nullable String resourcePath) |
Sets the resource path encoded in the URL to the given path.
|
@NotNull SlingUrl |
SlingUrl.setScheme(@Nullable String scheme) |
Sets the scheme.
|
SlingUrl |
SlingUrl.setSelector(String... value) |
|
SlingUrl |
SlingUrl.setSelectors(@Nullable String selectors) |
Sets the selectors to the given string - can contain multiple selectors separated with period.
|
SlingUrl |
SlingUrl.setSuffix(@Nullable String suffix) |
|
@NotNull SlingUrl |
SlingUrl.setType(@NotNull SlingUrl.UrlType type) |
Sets the type.
|
@NotNull SlingUrl |
SlingUrl.setUsername(@Nullable String username) |
Sets the username.
|
SlingUrl |
SlingUrl.suffix(@Nullable String suffix) |
|
SlingUrl |
SlingUrl.suffix(@Nullable org.apache.sling.api.resource.Resource resource) |
|
SlingUrl |
SlingUrl.suffix(@Nullable org.apache.sling.api.resource.Resource resource,
@Nullable String extension) |
|
@NotNull SlingUrl |
SlingUrl.type(@NotNull SlingUrl.UrlType type) |
Sets the type of the URL.
|
@NotNull SlingUrl |
SlingUrl.username(@Nullable String username) |
Sets the username part of an URL.
|