List of usage examples for org.apache.http.entity ByteArrayEntity getContentEncoding
public Header getContentEncoding()
From source file:com.subgraph.vega.internal.model.requests.LazyEntityLoader.java
private HttpEntity createEntityCopy(RequestLogEntity entity) { final ByteArrayEntity copy = new ByteArrayEntity(entity.getContentArray()); copy.setContentType(entity.getContentType()); copy.setContentEncoding(copy.getContentEncoding()); return copy;/* w w w . j av a 2 s . c om*/ }