@API(status=EXPERIMENTAL) public enum UrlResolution extends Enum<UrlResolution>
Enum Constant and Description |
---|
APPEND
Resolves a given relative URI by appending its path to and merging its query parameters with the given base URL.
|
RFC
Resolves a given relativce URI by following the rules defined in RFC 3986.
|
Modifier and Type | Method and Description |
---|---|
static UrlResolution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UrlResolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UrlResolution RFC
URI.resolve(URI)
public static final UrlResolution APPEND
UriComponentsBuilder.pathSegment(String...)
public static UrlResolution[] values()
for (UrlResolution c : UrlResolution.values()) System.out.println(c);
public static UrlResolution valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015–2018 Zalando SE. All rights reserved.