Example usage for Java org.springframework.web.util UriComponents fields, constructors, methods, implement or subclass
The text is from its open source code.
UriComponents | encode() Invoke this after expanding URI variables to encode the resulting URI component values. |
UriComponents | encode(Charset charset) A variant of #encode() with a charset other than "UTF-8". |
UriComponents | expand(Map Replace all URI template variables with the values from a given map. |
UriComponents | expand(Object... uriVariableValues) Replace all URI template variables with the values from a given array. |
UriComponents | expand(UriTemplateVariables uriVariables) Replace all URI template variables with the values from the given UriTemplateVariables . |
String | getFragment() Return the fragment. |
String | getHost() Return the host. |
String | getPath() Return the path. |
List | getPathSegments() Return the list of path segments. |
int | getPort() Return the port. |
String | getQuery() Return the query. |
MultiValueMap | getQueryParams() Return the map of query parameters. |
String | getScheme() Return the scheme. |
String | getUserInfo() Return the user info. |
String | toString() A simple pass-through to #toUriString() . |
URI | toUri() Create a URI from this instance as follows: If the current instance is #encode() encoded , form the full URI String via #toUriString() , and then pass it to the single argument URI constructor which preserves percent encoding. |
String | toUriString() Concatenate all URI components to return the fully formed URI String. |