This entity serializer currently supports only "chunked" and "identitiy" transfer-coding
125126127128129130131
* {@link ContentLengthStrategy}. * * @return HTTP entity serialzier. */ protected EntitySerializer createEntitySerializer() { return new EntitySerializer(new StrictContentLengthStrategy()); }
134135136137138139140
135136137138139140141
87888990919293
protected EntityDeserializer createEntityDeserializer() { return new EntityDeserializer(new LaxContentLengthStrategy()); } protected EntitySerializer createEntitySerializer() { return new EntitySerializer(new StrictContentLengthStrategy()); }