Uses of Interface
org.apache.hc.core5.http.HttpEntity
-
Packages that use HttpEntity Package Description org.apache.hc.core5.http Core HTTP transport component APIs.org.apache.hc.core5.http.impl.io Default implementation of HTTP/1.1 transport based on the classic (blocking) I/O model.org.apache.hc.core5.http.io.entity HTTP message entity APIs based on the classic (blocking) I/O model.org.apache.hc.core5.http.io.support Support classes for the classic (blocking) I/O model.org.apache.hc.core5.http.message Core HTTP message components, message element parser and writer APIs and their default implementations. -
-
Uses of HttpEntity in org.apache.hc.core5.http
Methods in org.apache.hc.core5.http that return HttpEntity Modifier and Type Method Description HttpEntityHttpEntityContainer. getEntity()Obtains the message entity, if available.Methods in org.apache.hc.core5.http with parameters of type HttpEntity Modifier and Type Method Description voidHttpEntityContainer. setEntity(HttpEntity entity)Sets an entity for this message. -
Uses of HttpEntity in org.apache.hc.core5.http.impl.io
Classes in org.apache.hc.core5.http.impl.io that implement HttpEntity Modifier and Type Class Description (package private) classIncomingHttpEntityMethods in org.apache.hc.core5.http.impl.io that return HttpEntity Modifier and Type Method Description (package private) HttpEntityBHttpConnectionBase. createIncomingEntity(HttpMessage message, SessionInputBuffer inBuffer, java.io.InputStream inputStream, long len) -
Uses of HttpEntity in org.apache.hc.core5.http.io.entity
Classes in org.apache.hc.core5.http.io.entity that implement HttpEntity Modifier and Type Class Description classAbstractHttpEntityAbstract base class for mutable entities.classBasicHttpEntityA generic streamed, non-repeatable entity that obtains its content from anInputStream.classBufferedHttpEntityA wrapping entity that buffers it content if necessary.classByteArrayEntityA self contained, repeatable entity that obtains its content from a byte array.classByteBufferEntityAn entity that delivers the contents of aByteBuffer.classEntityTemplateEntity that delegates the process of content generation to aIOCallbackwithOutputStreamas output sink.classFileEntityA self contained, repeatable entity that obtains its content from a file.classHttpEntityWrapperBase class for wrapping entities that delegates all calls to the wrapped entity.classInputStreamEntityA streamed, non-repeatable entity that obtains its content from anInputStream.classNullEntityAn empty entity with no content-type.classPathEntityA self contained, repeatable entity that obtains its content from a path.classSerializableEntityA streamed entity that obtains its content from aSerializable.classStringEntityA self contained, repeatable entity that obtains its content from aString.Fields in org.apache.hc.core5.http.io.entity declared as HttpEntity Modifier and Type Field Description private HttpEntityHttpEntityWrapper. wrappedEntityThe wrapped entity.Methods in org.apache.hc.core5.http.io.entity that return HttpEntity Modifier and Type Method Description static HttpEntityHttpEntities. create(byte[] content, ContentType contentType)static HttpEntityHttpEntities. create(byte[] content, ContentType contentType, Header... trailers)static HttpEntityHttpEntities. create(java.io.File content, ContentType contentType)static HttpEntityHttpEntities. create(java.io.File content, ContentType contentType, Header... trailers)static HttpEntityHttpEntities. create(java.io.Serializable serializable, ContentType contentType)static HttpEntityHttpEntities. create(java.io.Serializable serializable, ContentType contentType, Header... trailers)static HttpEntityHttpEntities. create(java.lang.String content)static HttpEntityHttpEntities. create(java.lang.String content, java.nio.charset.Charset charset)static HttpEntityHttpEntities. create(java.lang.String content, java.nio.charset.Charset charset, Header... trailers)static HttpEntityHttpEntities. create(java.lang.String content, ContentType contentType)static HttpEntityHttpEntities. create(java.lang.String content, ContentType contentType, Header... trailers)static HttpEntityHttpEntities. create(java.lang.String content, Header... trailers)static HttpEntityHttpEntities. create(java.nio.file.Path content, ContentType contentType)static HttpEntityHttpEntities. create(java.nio.file.Path content, ContentType contentType, Header... trailers)static HttpEntityHttpEntities. create(IOCallback<java.io.OutputStream> callback, ContentType contentType)static HttpEntityHttpEntities. create(IOCallback<java.io.OutputStream> callback, ContentType contentType, Header... trailers)static HttpEntityHttpEntities. createGzipped(byte[] content, ContentType contentType)static HttpEntityHttpEntities. createGzipped(java.io.File content, ContentType contentType)static HttpEntityHttpEntities. createGzipped(java.io.Serializable serializable, ContentType contentType)static HttpEntityHttpEntities. createGzipped(java.lang.String content)static HttpEntityHttpEntities. createGzipped(java.lang.String content, java.nio.charset.Charset charset)static HttpEntityHttpEntities. createGzipped(java.lang.String content, ContentType contentType)static HttpEntityHttpEntities. createGzipped(java.nio.file.Path content, ContentType contentType)static HttpEntityHttpEntities. createGzipped(IOCallback<java.io.OutputStream> callback, ContentType contentType)static HttpEntityHttpEntities. createUrlEncoded(java.lang.Iterable<? extends NameValuePair> parameters, java.nio.charset.Charset charset)static HttpEntityHttpEntities. gzip(HttpEntity entity)static HttpEntityHttpEntities. withTrailers(HttpEntity entity, Header... trailers)Methods in org.apache.hc.core5.http.io.entity with parameters of type HttpEntity Modifier and Type Method Description static voidEntityUtils. consume(HttpEntity entity)Ensures that the entity content is fully consumed and the content stream, if exists, is closed.static voidEntityUtils. consumeQuietly(HttpEntity entity)Ensures that the entity content is fully consumed and the content stream, if exists, is closed.static HttpEntityHttpEntities. gzip(HttpEntity entity)static java.util.List<NameValuePair>EntityUtils. parse(HttpEntity entity)Returns a list ofNameValuePairsas parsed from anHttpEntity.static java.util.List<NameValuePair>EntityUtils. parse(HttpEntity entity, int maxStreamLength)Returns a list ofNameValuePairsas parsed from anHttpEntity.static byte[]EntityUtils. toByteArray(HttpEntity entity)Reads the contents of an entity and return it as a byte array.static byte[]EntityUtils. toByteArray(HttpEntity entity, int maxResultLength)Reads the contents of an entity and return it as a byte array.static java.lang.StringEntityUtils. toString(HttpEntity entity)Reads the contents of an entity and return it as a String.static java.lang.StringEntityUtils. toString(HttpEntity entity, int maxResultLength)Reads the contents of an entity and return it as a String.static java.lang.StringEntityUtils. toString(HttpEntity entity, java.lang.String defaultCharset)Gets the entity content as a String, using the provided default character set if none is found in the entity.static java.lang.StringEntityUtils. toString(HttpEntity entity, java.lang.String defaultCharset, int maxResultLength)Gets the entity content as a String, using the provided default character set if none is found in the entity.static java.lang.StringEntityUtils. toString(HttpEntity entity, java.nio.charset.Charset defaultCharset)Gets the entity content as a String, using the provided default character set if none is found in the entity.static java.lang.StringEntityUtils. toString(HttpEntity entity, java.nio.charset.Charset defaultCharset, int maxResultLength)Gets the entity content as a String, using the provided default character set if none is found in the entity.private static java.lang.StringEntityUtils. toString(HttpEntity entity, ContentType contentType, int maxResultLength)static HttpEntityHttpEntities. withTrailers(HttpEntity entity, Header... trailers)static voidAbstractHttpEntity. writeTo(HttpEntity entity, java.io.OutputStream outStream)Constructors in org.apache.hc.core5.http.io.entity with parameters of type HttpEntity Constructor Description BufferedHttpEntity(HttpEntity entity)Creates a new buffered entity wrapper.HttpEntityWrapper(HttpEntity wrappedEntity)Creates a new entity wrapper. -
Uses of HttpEntity in org.apache.hc.core5.http.io.support
Fields in org.apache.hc.core5.http.io.support declared as HttpEntity Modifier and Type Field Description private HttpEntityClassicRequestBuilder. entityprivate HttpEntityClassicResponseBuilder. entityMethods in org.apache.hc.core5.http.io.support that return HttpEntity Modifier and Type Method Description protected HttpEntityAbstractHttpServerAuthFilter. generateResponseContent(HttpResponse unauthorized)Generates response body for UNAUTHORIZED response.protected HttpEntityHttpServerExpectationFilter. generateResponseContent(HttpResponse expectationFailed)Generates response content entity for the final HTTP response with an error status representing the cause of expectation failure.HttpEntityClassicRequestBuilder. getEntity()HttpEntityClassicResponseBuilder. getEntity()Methods in org.apache.hc.core5.http.io.support with parameters of type HttpEntity Modifier and Type Method Description ClassicRequestBuilderClassicRequestBuilder. setEntity(HttpEntity entity)ClassicResponseBuilderClassicResponseBuilder. setEntity(HttpEntity entity) -
Uses of HttpEntity in org.apache.hc.core5.http.message
Fields in org.apache.hc.core5.http.message declared as HttpEntity Modifier and Type Field Description private HttpEntityBasicClassicHttpRequest. entityprivate HttpEntityBasicClassicHttpResponse. entityMethods in org.apache.hc.core5.http.message that return HttpEntity Modifier and Type Method Description HttpEntityBasicClassicHttpRequest. getEntity()HttpEntityBasicClassicHttpResponse. getEntity()Methods in org.apache.hc.core5.http.message with parameters of type HttpEntity Modifier and Type Method Description voidBasicClassicHttpRequest. setEntity(HttpEntity entity)voidBasicClassicHttpResponse. setEntity(HttpEntity entity)
-