UriComponents for opaque URIs.
| Modifier and Type | Field and Description |
|---|---|
| private static final MultiValueMap | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | copyToUriComponentsBuilder(UriComponentsBuilder builder)
Implements abstract org. Set all components of the given UriComponentsBuilder. |
| public UriComponents | encode(Charset
the charset to use for encoding charset)Implements abstract org. A variant of |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| protected UriComponents | expandInternal(UriComponents.
the URI template values uriVariablesImplements abstract org. Replace all URI template variables with the values from the given |
| public String | |
| public String | |
| public List | getPathSegments()
Implements abstract org. Return the list of path segments. |
| public int | |
| public String | getQuery()
Implements abstract org. Return the query. |
| public MultiValueMap | getQueryParams()
Implements abstract org. Return the map of query parameters. |
| public String | getSchemeSpecificPart()
Implements abstract org. Return the scheme specific part. |
| public String | getUserInfo()
Implements abstract org. Return the user info. |
| public int | |
| public UriComponents | normalize()
Implements abstract org. Normalize the path removing sequences like "path/..". |
| public URI | toUri()
Implements abstract org. Create a If the current instance is |
| public String | toUriString()
Implements abstract org. Concatenate all URI components to return the fully formed URI String. |
| QUERY_PARAMS_NONE | back to summary |
|---|---|
| private static final MultiValueMap<String, String> QUERY_PARAMS_NONE | |
| ssp | back to summary |
|---|---|
| private final String ssp
| |
| OpaqueUriComponents | back to summary |
|---|---|
| pack-priv OpaqueUriComponents(String scheme, String schemeSpecificPart, String fragment) | |
| copyToUriComponentsBuilder | back to summary |
|---|---|
| protected void copyToUriComponentsBuilder(UriComponentsBuilder builder) Implements abstract org. Doc from org. Set all components of the given UriComponentsBuilder.
| |
| encode | back to summary |
|---|---|
| public UriComponents encode(Charset charset) Implements abstract org. Doc from org. A variant of | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| expandInternal | back to summary |
|---|---|
| protected UriComponents expandInternal(UriComponents. Implements abstract org. Doc from org. Replace all URI template variables with the values from the given
| |
| getHost | back to summary |
|---|---|
| public String getHost() Implements abstract org. Doc from org. Return the host. Can be | |
| getPath | back to summary |
|---|---|
| public String getPath() Implements abstract org. Doc from org. Return the path. Can be | |
| getPathSegments | back to summary |
|---|---|
| public List Implements abstract org. Doc from org. Return the list of path segments. Empty if no path has been set.
| |
| getPort | back to summary |
|---|---|
| public int getPort() Implements abstract org. Doc from org. Return the port.
| |
| getQuery | back to summary |
|---|---|
| public String getQuery() Implements abstract org. Doc from org. Return the query. Can be | |
| getQueryParams | back to summary |
|---|---|
| public MultiValueMap Implements abstract org. Doc from org. Return the map of query parameters. Empty if no query has been set.
| |
| getSchemeSpecificPart | back to summary |
|---|---|
| public String getSchemeSpecificPart() Implements abstract org. Doc from org. Return the scheme specific part. Can be | |
| getUserInfo | back to summary |
|---|---|
| public String getUserInfo() Implements abstract org. Doc from org. Return the user info. Can be | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| normalize | back to summary |
|---|---|
| public UriComponents normalize() Implements abstract org. Doc from org. Normalize the path removing sequences like "path/..". Note that normalization is applied to the full path, and not to individual path segments.
| |
| toUri | back to summary |
|---|---|
| public URI toUri() Implements abstract org. Doc from org. Create a If the current instance is If not yet encoded, pass individual URI component values to the
multi-argument
| |
| toUriString | back to summary |
|---|---|
| public String toUriString() Implements abstract org. Doc from org. Concatenate all URI components to return the fully formed URI String. This method amounts to simple String concatenation of the current
URI component values and as such the result may contain illegal URI
characters, for example if URI variables have not been expanded or if
encoding has not been applied via
| |