Class HttpEntities
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpEntities
Constructors for HttpEntity instances
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic HttpEntity.Strictcreate(byte[] bytes) static HttpEntity.Strictstatic HttpEntity.Strictcreate(ContentType.NonBinary contentType, String string) static HttpEntity.Strictcreate(ContentType contentType, byte[] bytes) static HttpEntity.Defaultcreate(ContentType contentType, long contentLength, org.apache.pekko.stream.javadsl.Source<org.apache.pekko.util.ByteString, ?> data) static UniversalEntitycreate(ContentType contentType, File file) static UniversalEntitycreate(ContentType contentType, File file, int chunkSize) static UniversalEntitycreate(ContentType contentType, Path file) static UniversalEntitycreate(ContentType contentType, Path file, int chunkSize) static HttpEntity.Chunkedcreate(ContentType contentType, org.apache.pekko.stream.javadsl.Source<org.apache.pekko.util.ByteString, ?> data) static HttpEntity.Strictcreate(ContentType contentType, org.apache.pekko.util.ByteString bytes) static HttpEntity.Strictcreate(org.apache.pekko.util.ByteString bytes) static HttpEntity.ChunkedcreateChunked(ContentType contentType, org.apache.pekko.stream.javadsl.Source<org.apache.pekko.util.ByteString, ?> data) static HttpEntity.CloseDelimitedcreateCloseDelimited(ContentType contentType, org.apache.pekko.stream.javadsl.Source<org.apache.pekko.util.ByteString, ?> data) static HttpEntity.IndefiniteLengthcreateIndefiniteLength(ContentType contentType, org.apache.pekko.stream.javadsl.Source<org.apache.pekko.util.ByteString, ?> data) 
- 
Field Details- 
EMPTY
 
- 
- 
Method Details- 
create
- 
create
- 
create
- 
create
- 
create
- 
createpublic static HttpEntity.Strict create(ContentType contentType, org.apache.pekko.util.ByteString bytes) 
- 
create
- 
create
- 
create
- 
create
- 
createpublic static HttpEntity.Default create(ContentType contentType, long contentLength, org.apache.pekko.stream.javadsl.Source<org.apache.pekko.util.ByteString, ?> data) 
- 
createpublic static HttpEntity.Chunked create(ContentType contentType, org.apache.pekko.stream.javadsl.Source<org.apache.pekko.util.ByteString, ?> data) 
- 
createCloseDelimitedpublic static HttpEntity.CloseDelimited createCloseDelimited(ContentType contentType, org.apache.pekko.stream.javadsl.Source<org.apache.pekko.util.ByteString, ?> data) 
- 
createIndefiniteLengthpublic static HttpEntity.IndefiniteLength createIndefiniteLength(ContentType contentType, org.apache.pekko.stream.javadsl.Source<org.apache.pekko.util.ByteString, ?> data) 
- 
createChunkedpublic static HttpEntity.Chunked createChunked(ContentType contentType, org.apache.pekko.stream.javadsl.Source<org.apache.pekko.util.ByteString, ?> data) 
 
-