Package org.apache.juneau.http.entity
package org.apache.juneau.http.entity
Next-generation HTTP body (entity) implementations.
Concrete body types:
StringBody— UTF-8 string contentByteArrayBody— raw byte array contentStreamBody— wraps a one-shotInputStreamFileBody— streams aFileMultipartBody—multipart/form-datawith file uploadsHttpBodyBean— wraps an existing body with an overridden content type
-
ClassDescriptionAn
HttpBodybacked by a raw byte array.A mutable wrapper around anHttpBodythat allows overriding the content type.AnHttpBodythat serializes amultipart/form-datamessage (RFC 7578).Fluent builder forMultipartBody.A single part within aMultipartBody.A non-repeatableHttpBodythat streams content from anInputStream.AnHttpBodybacked by a UTF-8 string.