Lines Matching refs:entity
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
64 public BufferedHttpEntity(final HttpEntity entity) throws IOException {
65 super(entity);
66 if (!entity.isRepeatable() || entity.getContentLength() < 0) {
67 this.buffer = EntityUtils.toByteArray(entity);
90 * Tells that this entity does not have to be chunked.
99 * Tells that this entity is repeatable.