Searched refs:ContentLengthStrategy (Results 1 – 9 of 9) sorted by relevance
40 import org.apache.http.entity.ContentLengthStrategy;65 private final ContentLengthStrategy lenStrategy;67 public EntitySerializer(final ContentLengthStrategy lenStrategy) { in EntitySerializer()79 if (len == ContentLengthStrategy.CHUNKED) { in doSerialize()81 } else if (len == ContentLengthStrategy.IDENTITY) { in doSerialize()
41 import org.apache.http.entity.ContentLengthStrategy;67 private final ContentLengthStrategy lenStrategy;69 public EntityDeserializer(final ContentLengthStrategy lenStrategy) { in EntityDeserializer()83 if (len == ContentLengthStrategy.CHUNKED) { in doDeserialize()87 } else if (len == ContentLengthStrategy.IDENTITY) { in doDeserialize()
39 import org.apache.http.entity.ContentLengthStrategy;182 public class StrictContentLengthStrategy implements ContentLengthStrategy {
40 import org.apache.http.entity.ContentLengthStrategy;186 public class LaxContentLengthStrategy implements ContentLengthStrategy {
31 import org.apache.http.entity.ContentLengthStrategy;384 if (len == ContentLengthStrategy.CHUNKED) { in receiveResponseEntity()388 } else if (len == ContentLengthStrategy.IDENTITY) { in receiveResponseEntity()421 return ContentLengthStrategy.IDENTITY; in determineLength()
24 import org.apache.http.entity.ContentLengthStrategy;185 transferEncoding = ContentLengthStrategy.IDENTITY; in parseHeader()189 transferEncoding = ContentLengthStrategy.CHUNKED; in parseHeader()191 transferEncoding = ContentLengthStrategy.IDENTITY; in parseHeader()
52 public interface ContentLengthStrategy { interface
2120 @Deprecated public interface ContentLengthStrategy {3238 ctor @Deprecated public EntityDeserializer(org.apache.http.entity.ContentLengthStrategy);3244 ctor @Deprecated public EntitySerializer(org.apache.http.entity.ContentLengthStrategy);3249 …ted public class LaxContentLengthStrategy implements org.apache.http.entity.ContentLengthStrategy {3254 … public class StrictContentLengthStrategy implements org.apache.http.entity.ContentLengthStrategy {
518 …pache/http/impl/entity/EntityDeserializer;-><init>(Lorg/apache/http/entity/ContentLengthStrategy;)V521 …/apache/http/impl/entity/EntitySerializer;-><init>(Lorg/apache/http/entity/ContentLengthStrategy;)V