Package org.apache.juneau.httppart
Enum Class HttpPartType
- All Implemented Interfaces:
- Serializable,- Comparable<HttpPartType>,- Constable
Represents possible enum values that can be passed to the 
HttpPartSerializerSession.serialize(HttpPartType, HttpPartSchema, Object).
 See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionGeneric partAn HTTP request bodyA form-data parameterAn HTTP request headerA non-standard fieldA URI path variableA URI query parameterAn HTTP response bodyAn HTTP response headerAn HTTP response status code
- 
Method SummaryModifier and TypeMethodDescriptionstatic HttpPartTypeReturns the enum constant of this class with the specified name.static HttpPartType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
BODYAn HTTP request body
- 
PATHA URI path variable
- 
QUERYA URI query parameter
- 
FORMDATAA form-data parameter
- 
HEADERAn HTTP request header
- 
RESPONSE_HEADERAn HTTP response header
- 
RESPONSE_BODYAn HTTP response body
- 
RESPONSE_STATUSAn HTTP response status code
- 
ANYGeneric part
- 
OTHERA non-standard field
 
- 
- 
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
 
 
-