|Enum Constant and Description|
Serialize as plain text.
Use UON notation for values.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final ParamFormat UON
String values such as
Boolean strings (
public static final ParamFormat PLAINTEXT
Strings will never be quoted or escaped.
Maps and array constructs (
Note that this can cause errors during parsing if you're using the URL-encoding parser to parse the results since
UON constructs won't be differentiable.
However, this is not an issue if you're simply creating queries or form posts against 3rd-party interfaces.
public static ParamFormat values()
for (ParamFormat c : ParamFormat.values()) System.out.println(c);
public static ParamFormat valueOf(String name)
Copyright © 2018 Apache. All rights reserved.