public enum QueryComputer extends Enum<QueryComputer>
Enum Constant and Description |
---|
URL_ENCODING_DISABLED_QUERY_COMPUTER |
URL_ENCODING_ENABLED_QUERY_COMPUTER |
Modifier and Type | Method and Description |
---|---|
String |
computeFullQueryString(String query,
List<Param> queryParams) |
static QueryComputer |
queryComputer(boolean disableUrlEncoding) |
static QueryComputer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryComputer[] |
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 QueryComputer URL_ENCODING_ENABLED_QUERY_COMPUTER
public static final QueryComputer URL_ENCODING_DISABLED_QUERY_COMPUTER
public static QueryComputer[] values()
for (QueryComputer c : QueryComputer.values()) System.out.println(c);
public static QueryComputer 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 QueryComputer queryComputer(boolean disableUrlEncoding)
protected abstract String withQueryWithParams(String query, List<Param> queryParams)
Copyright © 2015. All Rights Reserved.