@NotNull SlingUriBuilder |
SlingUriBuilder.addQueryParameter(@NotNull String parameterName,
@NotNull String value) |
Add a query parameter to the query of the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.addSelector(@NotNull String selector) |
Add a selector to the URI.
|
static @NotNull SlingUriBuilder |
SlingUriBuilder.create() |
Creates a builder without any URI parameters set.
|
static @NotNull SlingUriBuilder |
SlingUriBuilder.createFrom(@NotNull URI uri,
@Nullable ResourceResolver resourceResolver) |
Creates a builder from an arbitrary URI.
|
static @NotNull SlingUriBuilder |
SlingUriBuilder.createFrom(@NotNull RequestPathInfo requestPathInfo) |
Creates a builder from a RequestPathInfo instance .
|
static @NotNull SlingUriBuilder |
SlingUriBuilder.createFrom(@NotNull Resource resource) |
Creates a builder from a resource (only taking the resource path into account).
|
static @NotNull SlingUriBuilder |
SlingUriBuilder.createFrom(@NotNull SlingHttpServletRequest request) |
Creates a builder from a request.
|
static @NotNull SlingUriBuilder |
SlingUriBuilder.createFrom(@NotNull SlingUri slingUri) |
Creates a builder from another SlingUri (clone and modify use case).
|
static @NotNull SlingUriBuilder |
SlingUriBuilder.parse(@NotNull String uriStr,
@Nullable ResourceResolver resourceResolver) |
Creates a builder from an arbitrary URI string.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.rebaseResourcePath() |
Will rebase the URI based on the underlying resource structure.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.removeSchemeAndAuthority() |
Will remove scheme and authority (that is user info, host and port).
|
@NotNull SlingUriBuilder |
SlingUriBuilder.removeSelector(@NotNull String selector) |
Remove a selector from the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setExtension(@Nullable String extension) |
Set the extension of the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setFragment(@Nullable String fragment) |
Set the fragment of the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setHost(@Nullable String host) |
Set the host of the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setPath(@Nullable String path) |
Set the path of the URI that contains a resource path and optionally path parameters, selectors, an extension and a suffix.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setPathParameter(@NotNull String key,
@NotNull String value) |
Set a path parameter to the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setPathParameters(@NotNull Map<String,String> pathParameters) |
Replaces all path parameters in the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setPort(int port) |
Set the port of the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setQuery(@Nullable String query) |
Set the query of the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setQueryParameters(@NotNull Map<String,String> queryParameters) |
Replace all query parameters of the URL.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setResourcePath(@Nullable String resourcePath) |
Set the resource path of the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setResourceResolver(ResourceResolver resourceResolver) |
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setScheme(@Nullable String scheme) |
Set the scheme of the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setSchemeSpecificPart(@Nullable String schemeSpecificPart) |
Set the scheme specific part of the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setSelectors(@Nullable String[] selectors) |
Set the selectors of the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setSuffix(@Nullable String suffix) |
Set the suffix of the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.setUserInfo(@Nullable String userInfo) |
Set the user info of the URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.useSchemeAndAuthority(@NotNull URI uri) |
Will take over scheme and authority (user info, host and port) from provided URI.
|
@NotNull SlingUriBuilder |
SlingUriBuilder.useSchemeAndAuthority(@NotNull SlingUri slingUri) |
Will take over scheme and authority (user info, host and port) from provided slingUri.
|