case classNonEmpty extends HttpEntity with Product with Serializable
Models a non-empty entity. The buffer array is guaranteed to have a size greater than zero.
CAUTION: Even though the byte array is directly exposed for performance reasons all instances of this class are
assumed to be immutable! spray never modifies the buffer contents after an HttpEntity.NonEmpty instance has been created.
If you modify the buffer contents by writing to the array things WILL BREAK!
Linear Supertypes
Serializable, Serializable, Product, Equals, HttpEntity, AnyRef, Any
Models a non-empty entity. The buffer array is guaranteed to have a size greater than zero. CAUTION: Even though the byte array is directly exposed for performance reasons all instances of this class are assumed to be immutable! spray never modifies the buffer contents after an HttpEntity.NonEmpty instance has been created. If you modify the buffer contents by writing to the array things WILL BREAK!