Searched defs:entity (Results 1 - 25 of 74) sorted by relevance

123

/external/apache-http/src/org/apache/http/entity/
H A DContentProducer.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/ContentProducer.java $
32 package org.apache.http.entity;
38 * An abstract entity content producer.
H A DBufferedHttpEntity.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/BufferedHttpEntity.java $
32 package org.apache.http.entity;
43 * A wrapping entity that buffers it content if necessary.
44 * The buffered entity is always repeatable.
45 * If the wrapped entity is repeatable itself, calls are passed through.
46 * If the wrapped entity is not repeatable, the content is read into a
59 public BufferedHttpEntity(final HttpEntity entity) throws IOException { argument
60 super(entity);
61 if (!entity.isRepeatable() || entity
[all...]
H A DContentLengthStrategy.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/ContentLengthStrategy.java $
32 package org.apache.http.entity;
H A DByteArrayEntity.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/ByteArrayEntity.java $
32 package org.apache.http.entity;
40 * An entity whose content is retrieved from a byte array.
82 * Tells that this entity is not streaming.
H A DEntityTemplate.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/EntityTemplate.java $
32 package org.apache.http.entity;
H A DFileEntity.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/FileEntity.java $
32 package org.apache.http.entity;
41 * An entity whose content is retrieved from a file.
92 * Tells that this entity is not streaming.
H A DSerializableEntity.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/SerializableEntity.java $
32 package org.apache.http.entity;
H A DStringEntity.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/StringEntity.java $
32 package org.apache.http.entity;
43 * An entity whose content is retrieved from a string.
94 * Tells that this entity is not streaming.
H A DAbstractHttpEntity.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/AbstractHttpEntity.java $
32 package org.apache.http.entity;
208 ("streaming entity does not implement consumeContent()");
H A DBasicHttpEntity.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/BasicHttpEntity.java $
32 package org.apache.http.entity;
39 * A generic streamed entity being received on a connection.
54 * Creates a new basic entity.
92 * Tells that this entity is not repeatable.
142 content.close(); // reads to the end of the entity
H A DHttpEntityWrapper.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/HttpEntityWrapper.java $
32 package org.apache.http.entity;
46 * should not be delegated to the wrapped entity.
54 /** The wrapped entity. */
58 * Creates a new entity wrapper.
60 * @param wrapped the entity to wrap
67 ("wrapped entity must not be null");
H A DInputStreamEntity.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/InputStreamEntity.java $
32 package org.apache.http.entity;
39 * A streamed entity obtaining content from an {@link InputStream InputStream}.
/external/apache-http/src/org/apache/http/impl/entity/
H A DEntitySerializer.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/entity/EntitySerializer.java $
32 package org.apache.http.impl.entity;
40 import org.apache.http.entity.ContentLengthStrategy;
47 * Default implementation of an entity serializer.
49 * This entity serializer currently supports only "chunked" and "identitiy" transfer-coding</a>
86 final HttpEntity entity) throws HttpException, IOException {
93 if (entity == null) {
94 throw new IllegalArgumentException("HTTP entity may not be null");
97 entity.writeTo(outstream);
83 serialize( final SessionOutputBuffer outbuffer, final HttpMessage message, final HttpEntity entity) argument
H A DLaxContentLengthStrategy.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/entity/LaxContentLengthStrategy.java $
32 package org.apache.http.impl.entity;
40 import org.apache.http.entity.ContentLengthStrategy;
48 * This strategy conforms to the entity transfer rules outlined in
66 * empty line after the header fields, regardless of the entity-header fields present in the
76 * OCTETs represents both the entity-length and the transfer-length. The Content-Length
118 * has been, can be, or may need to be applied to an entity-body in order to ensure
120 * the transfer-coding is a property of the message, not of the original entity.
151 * the message, not of the entity.
157 * If multiple encodings have been applied to an entity, th
[all...]
H A DStrictContentLengthStrategy.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/entity/StrictContentLengthStrategy.java $
32 package org.apache.http.impl.entity;
39 import org.apache.http.entity.ContentLengthStrategy;
45 * This entity generator comforms to the entity transfer rules outlined in the
62 * empty line after the header fields, regardless of the entity-header fields present in the
72 * OCTETs represents both the entity-length and the transfer-length. The Content-Length
114 * has been, can be, or may need to be applied to an entity-body in order to ensure
116 * the transfer-coding is a property of the message, not of the original entity.
147 * the message, not of the entity
[all...]
H A DEntityDeserializer.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/entity/EntityDeserializer.java $
32 package org.apache.http.impl.entity;
40 import org.apache.http.entity.BasicHttpEntity;
41 import org.apache.http.entity.ContentLengthStrategy;
49 * Default implementation of an entity deserializer.
51 * This entity deserializer currently supports only "chunked" and "identitiy" transfer-coding</a>
75 BasicHttpEntity entity = new BasicHttpEntity();
79 entity.setChunked(true);
80 entity.setContentLength(-1);
81 entity
[all...]
/external/apache-http/src/org/apache/http/
H A DHttpEntityEnclosingRequest.java35 * A request with an entity.
48 * whether to accept the entity enclosing request before the possibly
49 * lengthy entity is sent across the wire.
56 * Hands the entity to the request.
57 * @param entity the entity to send.
59 void setEntity(HttpEntity entity); argument
H A DHttpResponse.java124 * Obtains the message entity of this response, if any.
125 * The entity is provided by calling {@link #setEntity setEntity}.
127 * @return the response entity, or
133 * Associates a response entity with this response.
135 * @param entity the entity to associate with this response, or
138 void setEntity(HttpEntity entity); argument
/external/apache-http/src/org/apache/http/client/entity/
H A DUrlEncodedFormEntity.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/entity/UrlEncodedFormEntity.java $
31 package org.apache.http.client.entity;
37 import org.apache.http.entity.StringEntity;
41 * An entity composed of a list of url-encoded pairs.
/external/apache-http/src/org/apache/http/util/
H A DEntityUtils.java60 public static byte[] toByteArray(final HttpEntity entity) throws IOException { argument
61 if (entity == null) {
62 throw new IllegalArgumentException("HTTP entity may not be null");
64 InputStream instream = entity.getContent();
68 if (entity.getContentLength() > Integer.MAX_VALUE) {
69 throw new IllegalArgumentException("HTTP entity too large to be buffered in memory");
71 int i = (int)entity.getContentLength();
88 public static String getContentCharSet(final HttpEntity entity) argument
91 if (entity == null) {
92 throw new IllegalArgumentException("HTTP entity ma
107 toString( final HttpEntity entity, final String defaultCharset) argument
144 toString(final HttpEntity entity) argument
[all...]
/external/webkit/Source/WebCore/html/parser/
H A DHTMLEntityTable.h34 UChar lastCharacter() const { return entity[length - 1]; }
36 const UChar* entity; member in struct:WebCore::HTMLEntityTableEntry
/external/apache-http/src/org/apache/http/client/methods/
H A DHttpEntityEnclosingRequestBase.java52 private HttpEntity entity; field in class:HttpEntityEnclosingRequestBase
59 return this.entity;
62 public void setEntity(final HttpEntity entity) { argument
63 this.entity = entity;
75 if (this.entity != null) {
76 clone.entity = (HttpEntity) CloneUtils.clone(this.entity);
/external/apache-http/src/org/apache/http/impl/client/
H A DEntityEnclosingRequestWrapper.java57 private HttpEntity entity; field in class:EntityEnclosingRequestWrapper
62 this.entity = request.getEntity();
66 return this.entity;
69 public void setEntity(final HttpEntity entity) { argument
70 this.entity = entity;
80 return this.entity == null || this.entity.isRepeatable();
/external/apache-http/src/org/apache/http/message/
H A DBasicHttpEntityEnclosingRequest.java42 * Basic implementation of a request with an entity that can be modified.
53 private HttpEntity entity; field in class:BasicHttpEntityEnclosingRequest
69 return this.entity;
72 public void setEntity(final HttpEntity entity) { argument
73 this.entity = entity;
/external/apache-http/src/org/apache/http/client/utils/
H A DURLEncodedUtils.java83 * {@link HttpEntity}. The encoding is taken from the entity's
88 * @param entity
89 * The entity to parse
91 * If there was an exception getting the entity's data.
94 final HttpEntity entity) throws IOException {
96 if (isEncoded(entity)) {
97 final String content = EntityUtils.toString(entity);
98 final Header encoding = entity.getContentEncoding();
109 * Returns true if the entity's Content-Type header is
112 public static boolean isEncoded (final HttpEntity entity) { argument
93 parse( final HttpEntity entity) argument
[all...]

Completed in 231 milliseconds

123