public enum UriEncoder extends Enum<UriEncoder>
Modifier and Type | Method and Description |
---|---|
Uri |
encode(Uri uri,
List<Param> queryParams) |
protected abstract String |
encodePath(String path) |
static UriEncoder |
uriEncoder(boolean disableUrlEncoding) |
static UriEncoder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UriEncoder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
protected abstract String |
withoutQueryWithParams(List<Param> queryParams) |
protected abstract String |
withQueryWithoutParams(String query) |
protected abstract String |
withQueryWithParams(String query,
List<Param> queryParams) |
public static final UriEncoder FIXING
public static final UriEncoder RAW
public static UriEncoder[] values()
for (UriEncoder c : UriEncoder.values()) System.out.println(c);
public static UriEncoder 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 nullpublic static UriEncoder uriEncoder(boolean disableUrlEncoding)
protected abstract String withQueryWithParams(String query, List<Param> queryParams)
Copyright © 2019. All rights reserved.