Code example for Header

Methods: getValue

0
		if (responseStream == null)
			return responseStream;
		Header header = entity.getContentEncoding();
		if (header == null)
			return responseStream;
		String contentEncoding = header.getValue();
		if (contentEncoding == null)
			return responseStream;
		if (contentEncoding.contains("gzip"))
			responseStream = new GZIPInputStream(responseStream);
		return responseStream;
	} 
 
	/** 
	 * Release resources associated with this client. You must call this, or 
	 * significant resources (sockets and memory) may be leaked. 
	 */ 
	public void close() { 
		if (mLeakedException != null) {
			getConnectionManager().shutdown();
Contextual code suggestions in your IDE  Get Codota for Java