UriComponents for hierarchical URIs.
| Modifier and Type | Class and Description |
|---|---|
| private static enum | |
| pack-priv static class | HierarchicalUriComponents.
Represents a path backed by a String. |
| pack-priv static interface | HierarchicalUriComponents.
Defines the contract for path (segments). |
| pack-priv static class | HierarchicalUriComponents.
Represents a collection of PathComponents. |
| pack-priv static class | HierarchicalUriComponents.
Represents a path backed by a String list (i.e. path segments). |
| private static class | |
| pack-priv static enum | HierarchicalUriComponents.
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. Set all components of the given UriComponentsBuilder. |
| public HierarchicalUriComponents | encode(Charset
the charset to use for encoding charset)Implements abstract org. A variant of |
| 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. Indicates whether some other object is "equal to" this one. |
| protected HierarchicalUriComponents | expandInternal(UriComponents.
the URI template values uriVariablesImplements abstract org. Replace all URI template variables with the values from the given |
| private MultiValueMap | |
| public String | |
| private HierarchicalUriComponents. | |
| 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. |
| private void | |
| private static void |