Package org.apache.juneau.httppart
Enum Class HttpPartFormat
- All Implemented Interfaces:
- Serializable,- Comparable<HttpPartFormat>,- Constable
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionHexadecimal encoded octets (e.g.Spaced-separated hexadecimal encoded octets (e.g.BASE-64 encoded characters.64-bit floating point number.32-bit floating point number.Signed 32 bits.Signed 64 bits.Not specified.Used to hint UIs the input needs to be obscured.UON notation (e.g.
- 
Method SummaryModifier and TypeMethodDescriptionstatic HttpPartFormatfromString(String value) Create from lowercase dashed name.booleanisOneOf(HttpPartFormat... list) Returnstrue if this format is in the provided list.toString()static HttpPartFormatReturns the enum constant of this class with the specified name.static HttpPartFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
INT32Signed 32 bits.
- 
INT64Signed 64 bits.
- 
FLOAT32-bit floating point number.
- 
DOUBLE64-bit floating point number.
- 
BYTEBASE-64 encoded characters.
- 
BINARYHexadecimal encoded octets (e.g."00FF" ).
- 
BINARY_SPACEDSpaced-separated hexadecimal encoded octets (e.g."00 FF" ).
- 
DATE
- 
DATE_TIME
- 
PASSWORDUsed to hint UIs the input needs to be obscured.
- 
UONUON notation (e.g."(foo=bar,baz=@(qux,123))" ).
- 
NO_FORMATNot specified.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
fromStringCreate from lowercase dashed name.- Parameters:
- value- The enum name.
- Returns:
- The enum.
 
- 
isOneOfReturnstrue if this format is in the provided list.- Parameters:
- list- The list of formats to check against.
- Returns:
- true if this format is in the provided list.
 
- 
toString- Overrides:
- toStringin class- Enum<HttpPartFormat>
 
 
-