Uses of Interface
org.apache.http.HttpEntity
-
Packages that use HttpEntity Package Description org.apache.http Core HTTP component APIs and primitives.org.apache.http.entity Core HTTP entity implementations.org.apache.http.impl Default implementations of HTTP connections for synchronous, blocking communication.org.apache.http.impl.entity Default implementations of entity content strategies.org.apache.http.message Core HTTP message components, message element parser and writer APIs and their default implementations.org.apache.http.util Core utility classes. -
-
Uses of HttpEntity in org.apache.http
Methods in org.apache.http that return HttpEntity Modifier and Type Method Description HttpEntityHttpEntityEnclosingRequest. getEntity()Returns the entity associated with this request.HttpEntityHttpResponse. getEntity()Obtains the message entity of this response, if any.Methods in org.apache.http with parameters of type HttpEntity Modifier and Type Method Description voidHttpEntityEnclosingRequest. setEntity(HttpEntity entity)Associates the entity with this request.voidHttpResponse. setEntity(HttpEntity entity)Associates a response entity with this response. -
Uses of HttpEntity in org.apache.http.entity
Classes in org.apache.http.entity that implement HttpEntity Modifier and Type Class Description classAbstractHttpEntityAbstract base class for 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.classEntityTemplateEntity that delegates the process of content generation to aContentProducer.classFileEntityA self contained, repeatable entity that obtains its content from a file.classHttpEntityWrapperBase class for wrapping entities.classInputStreamEntityA streamed, non-repeatable entity that obtains its content from anInputStream.classSerializableEntityA streamed entity that obtains its content from aSerializable.classStringEntityA self contained, repeatable entity that obtains its content from aString.Fields in org.apache.http.entity declared as HttpEntity Modifier and Type Field Description protected HttpEntityHttpEntityWrapper. wrappedEntityThe wrapped entity.Methods in org.apache.http.entity with parameters of type HttpEntity Modifier and Type Method Description static ContentTypeContentType. get(HttpEntity entity)ExtractsContent-Typevalue fromHttpEntityexactly as specified by theContent-Typeheader of the entity.static ContentTypeContentType. getLenient(HttpEntity entity)ExtractsContent-Typevalue fromHttpEntity.static ContentTypeContentType. getLenientOrDefault(HttpEntity entity)ExtractsContent-Typevalue fromHttpEntityor returns the default valueContentType.DEFAULT_TEXTif not explicitly specified or incorrect (could not be parsed).static ContentTypeContentType. getOrDefault(HttpEntity entity)ExtractsContent-Typevalue fromHttpEntityor returns the default valueContentType.DEFAULT_TEXTif not explicitly specified.Constructors in org.apache.http.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.http.impl
Methods in org.apache.http.impl that return HttpEntity Modifier and Type Method Description protected HttpEntityBHttpConnectionBase. prepareInput(HttpMessage message) -
Uses of HttpEntity in org.apache.http.impl.entity
Methods in org.apache.http.impl.entity that return HttpEntity Modifier and Type Method Description HttpEntityEntityDeserializer. deserialize(SessionInputBuffer inBuffer, HttpMessage message)Deprecated.Creates anHttpEntitybased on properties of the given message.Methods in org.apache.http.impl.entity with parameters of type HttpEntity Modifier and Type Method Description voidEntitySerializer. serialize(SessionOutputBuffer outbuffer, HttpMessage message, HttpEntity entity)Deprecated.Writes out the content of the given HTTP entity to the session output buffer based on properties of the given HTTP message. -
Uses of HttpEntity in org.apache.http.message
Methods in org.apache.http.message that return HttpEntity Modifier and Type Method Description HttpEntityBasicHttpEntityEnclosingRequest. getEntity()HttpEntityBasicHttpResponse. getEntity()Methods in org.apache.http.message with parameters of type HttpEntity Modifier and Type Method Description voidBasicHttpEntityEnclosingRequest. setEntity(HttpEntity entity)voidBasicHttpResponse. setEntity(HttpEntity entity) -
Uses of HttpEntity in org.apache.http.util
Methods in org.apache.http.util 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 java.lang.StringEntityUtils. getContentCharSet(HttpEntity entity)Deprecated.(4.1.3) useContentType.getOrDefault(HttpEntity)static java.lang.StringEntityUtils. getContentMimeType(HttpEntity entity)Deprecated.(4.1.3) useContentType.getOrDefault(HttpEntity)static byte[]EntityUtils. toByteArray(HttpEntity entity)Read the contents of an entity and return it as a byte array.static java.lang.StringEntityUtils. toString(HttpEntity entity)Read the contents of an entity and return it as a String.static java.lang.StringEntityUtils. toString(HttpEntity entity, java.lang.String defaultCharset)Get 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)Get the entity content as a String, using the provided default character set if none is found in the entity.static voidEntityUtils. updateEntity(HttpResponse response, HttpEntity entity)Updates an entity in a response by first consuming an existing entity, then setting the new one.
-