Enum Class NettyEntityWriter.Type
- All Implemented Interfaces:
- Enclosing interface:
Type of the entity writer.
CHUNKEDis used for chunked data.
PRESETis for buffered data, but the content length was pre-set by the customer.
DELAYEDis for buffered data where the content-length is unknown. The headers must not be written before the entity is provided by MessageBodyWriter to know the exact length.
Enum Constant Details
valuespublic static NettyEntityWriter.Type values()Returns an array containing the constants of this enum class, in the order they are declared.
- 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.)