UriComponents for hierarchical URIs.
| Modifier and Type | Class and Description |
|---|---|
| private static enum | |
| pack-priv static class | HierarchicalUriComponents.FullPathComponent
Represents a path backed by a String. |
| pack-priv static interface | HierarchicalUriComponents.PathComponent
Defines the contract for path (segments). |
| pack-priv static class | HierarchicalUriComponents.PathComponentComposite
Represents a collection of PathComponents. |
| pack-priv static class | HierarchicalUriComponents.PathSegmentComponent
Represents a path backed by a String list (i.e. path segments). |
| private static class | |
| pack-priv static enum | HierarchicalUriComponents.Type
Enumeration used to identify the allowed characters per URI component. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final MultiValueMap | |
| private final HierarchicalUriComponents. | |
| private final String | |
| pack-priv static final HierarchicalUriComponents. | NULL_PATH_COMPONENT
Represents an empty path. |
| private final HierarchicalUriComponents. | |
| private static final char | |
| private static final String | |
| private final String | |
| private final MultiValueMap | |
| private final String | |
| private UnaryOperator |
| Access | Constructor and Description |
|---|---|
| pack-priv | HierarchicalUriComponents(String
the scheme scheme, String the fragment fragment, String the user info userInfo, String the host host, String the port port, HierarchicalUriComponents.the path path,the query parameters query, boolean whether the components are already encoded encoded)Package-private constructor. |
| private | HierarchicalUriComponents(String scheme, String fragment, String userInfo, String host, String port, HierarchicalUriComponents.
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | copyToUriComponentsBuilder(UriComponentsBuilder builder)
Implements abstract org. |
| public HierarchicalUriComponents | encode(Charset
the charset to use for encoding charset)Implements abstract org. encode() with a charset other than "UTF-8".
|
| private MultiValueMap | |
| pack-priv HierarchicalUriComponents | |
| pack-priv static String | Returns: the encoded URIthe source String source, String the encoding of the source String encoding, HierarchicalUriComponents.the URI component for the source typeEncode the given source into an encoded String using the rules specified by the given component and with the given options. |
| pack-priv static String | Returns: the encoded URIthe source String source, Charset the encoding of the source String charset, HierarchicalUriComponents.the URI component for the source typeEncode the given source into an encoded String using the rules specified by the given component and with the given options. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| protected HierarchicalUriComponents | expandInternal(UriComponents.
the URI template values uriVariablesImplements abstract org. UriTemplateVariables.
|
| private MultiValueMap | |
| public String | |
| private HierarchicalUriComponents. | |
| public String | |
| public List | getPathSegments()
Implements abstract org. |
| public int | |
| public String | getQuery()
Implements abstract org. |
| public MultiValueMap | getQueryParams()
Implements abstract org. |
| public String | getSchemeSpecificPart()
Implements abstract org. |
| public String | getUserInfo()
Implements abstract org. |
| public int | |
| public UriComponents | normalize()
Implements abstract org. |
| public URI | toUri()
Implements abstract org. URI from this instance as follows:
If the current instance is |
| public String | toUriString()
Implements abstract org. |
| private void | |
| private static void |