Home
last modified time | relevance | path

Searched refs:lenStrategy (Results 1 – 2 of 2) sorted by relevance

/external/apache-http/src/org/apache/http/impl/entity/
DEntitySerializer.java65 private final ContentLengthStrategy lenStrategy; field in EntitySerializer
67 public EntitySerializer(final ContentLengthStrategy lenStrategy) { in EntitySerializer() argument
69 if (lenStrategy == null) { in EntitySerializer()
72 this.lenStrategy = lenStrategy; in EntitySerializer()
78 long len = this.lenStrategy.determineLength(message); in doSerialize()
DEntityDeserializer.java67 private final ContentLengthStrategy lenStrategy; field in EntityDeserializer
69 public EntityDeserializer(final ContentLengthStrategy lenStrategy) { in EntityDeserializer() argument
71 if (lenStrategy == null) { in EntityDeserializer()
74 this.lenStrategy = lenStrategy; in EntityDeserializer()
82 long len = this.lenStrategy.determineLength(message); in doDeserialize()