HomeSort by relevance Sort by last modified time
    Searched defs:entity (Results 1 - 25 of 266) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/apache-http/src/org/apache/http/impl/entity/
EntityDeserializer.java 2 * $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(); local
79 entity.setChunked(true);
80 entity.setContentLength(-1);
81 entity.setContent(new ChunkedInputStream(inbuffer))
    [all...]
EntitySerializer.java 2 * $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);
StrictContentLengthStrategy.java 2 * $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...]
  /external/apache-http/src/org/apache/http/protocol/
RequestContent.java 73 HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity(); local
74 if (entity == null) {
79 if (entity.isChunked() || entity.getContentLength() < 0) {
86 request.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
89 if (entity.getContentType() != null && !request.containsHeader(
91 request.addHeader(entity.getContentType());
94 if (entity.getContentEncoding() != null && !request.containsHeader(
96 request.addHeader(entity.getContentEncoding());
ResponseContent.java 46 * A response interceptor that sets up entity-related headers.
73 HttpEntity entity = response.getEntity(); local
74 if (entity != null) {
75 long len = entity.getContentLength();
76 if (entity.isChunked() && !ver.lessEquals(HttpVersion.HTTP_1_0)) {
79 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
82 if (entity.getContentType() != null && !response.containsHeader(
84 response.addHeader(entity.getContentType());
87 if (entity.getContentEncoding() != null && !response.containsHeader(
89 response.addHeader(entity.getContentEncoding());
    [all...]
RequestExpectContinue.java 66 HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity(); local
68 if (entity != null && entity.getContentLength() != 0) {
ResponseConnControl.java 84 HttpEntity entity = response.getEntity(); local
85 if (entity != null) {
87 if (entity.getContentLength() < 0 &&
88 (!entity.isChunked() || ver.lessEquals(HttpVersion.HTTP_1_0))) {
  /external/apache-http/src/org/apache/http/entity/
ContentProducer.java 2 * $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.
ContentLengthStrategy.java 2 * $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;
BufferedHttpEntity.java 2 * $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 {
60 super(entity);
61 if (!entity.isRepeatable() || entity.getContentLength() < 0)
    [all...]
ByteArrayEntity.java 2 * $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.
EntityTemplate.java 2 * $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;
39 * Entity that delegates the process of content generation to an abstract
65 throw new UnsupportedOperationException("Entity template does not implement getContent()");
StringEntity.java 2 * $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.
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
ExportTestProvider.java 20 import android.content.Entity;
42 private final List<Entity> mEntityList;
43 private Iterator<Entity> mIterator;
46 mEntityList = new ArrayList<Entity>();
47 Entity entity = new Entity(new ContentValues()); local
49 entity.addSubValue(Data.CONTENT_URI, contentValues);
51 mEntityList.add(entity);
61 public Entity next()
    [all...]
  /external/apache-http/src/org/apache/http/client/entity/
UrlEncodedFormEntity.java 2 * $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/client/methods/
HttpEntityEnclosingRequestBase.java 52 private HttpEntity entity; field in class:HttpEntityEnclosingRequestBase
59 return this.entity;
62 public void setEntity(final HttpEntity entity) {
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/
BasicResponseHandler.java 75 HttpEntity entity = response.getEntity(); local
76 return entity == null ? null : EntityUtils.toString(entity);
EntityEnclosingRequestWrapper.java 57 private HttpEntity entity; field in class:EntityEnclosingRequestWrapper
62 this.entity = request.getEntity();
66 return this.entity;
69 public void setEntity(final HttpEntity entity) {
70 this.entity = entity;
80 return this.entity == null || this.entity.isRepeatable();
  /external/apache-http/src/org/apache/http/message/
BasicHttpEntityEnclosingRequest.java 42 * 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) {
73 this.entity = entity;
  /external/chromium_org/chrome/browser/extensions/
app_sync_data_unittest.cc 37 sync_pb::EntitySpecifics entity; local
38 sync_pb::AppSpecifics* app_specifics = entity.mutable_app();
47 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity);
59 sync_pb::EntitySpecifics entity; local
60 sync_pb::AppSpecifics* input_specifics = entity.mutable_app();
69 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity);
82 sync_pb::EntitySpecifics entity; local
83 sync_pb::AppSpecifics* app_specifics = entity.mutable_app();
91 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity);
extension_sync_data_unittest.cc 27 sync_pb::EntitySpecifics entity; local
28 sync_pb::ExtensionSpecifics* extension_specifics = entity.mutable_extension();
36 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity);
52 sync_pb::EntitySpecifics entity; local
53 sync_pb::ExtensionSpecifics* input_extension = entity.mutable_extension();
61 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity);
  /external/chromium_org/chrome/browser/sync/sessions/
tab_node_pool_unittest.cc 219 sync_pb::EntitySpecifics entity = changes[0].sync_data().GetSpecifics(); local
220 sync_pb::SessionSpecifics specifics(entity.session());
  /external/chromium_org/components/dom_distiller/core/
article_entry.cc 56 const EntitySpecifics& entity = data.GetSpecifics(); local
57 DCHECK(entity.has_article());
58 const ArticleSpecifics& specifics = entity.article();
  /external/chromium_org/third_party/mesa/src/src/gallium/targets/xorg-i915/
intel_xorg.c 131 EntityInfoPtr entity; local
141 entity = xf86GetEntityInfo(entity_num);
  /external/chromium_org/third_party/mesa/src/src/gallium/targets/xorg-nouveau/
nouveau_xorg.c 128 EntityInfoPtr entity; local
188 entity = xf86GetEntityInfo(entity_num);

Completed in 364 milliseconds

1 2 3 4 5 6 7 8 91011