public String getResponseBodyAsString() throws IOException {
		HttpEntity entity = response.getEntity();
		if ( entity == null ) {
			return null;
		}
		String contentEncoding = getContentEncoding(entity);
		InputStream in = entity.getContent();
		BufferedReader r = new BufferedReader(new InputStreamReader(in,
				contentEncoding));
		StringBuilder sb = new StringBuilder();
		for (;;) {
			String l = r.readLine();
			if (l == null) {
				break;
			}
			sb.append(l).append("\n");
		}
		r.close();
		in.close();
		return sb.toString();
	}
public String getResponseBodyAsString() throws IOException {
		HttpEntity entity = response.getEntity();
		if ( entity == null ) {
			return null;
		}
		String contentEncoding = getContentEncoding(entity);
		InputStream in = entity.getContent();
		BufferedReader r = new BufferedReader(new InputStreamReader(in,
				contentEncoding));
		StringBuilder sb = new StringBuilder();
		for (;;) {
			String l = r.readLine();
			if (l == null) {
				break;
			}
			sb.append(l).append("\n");
		}
		r.close();
		in.close();
		return sb.toString();
	}
public String getResponseBodyAsString ( ) throws IOException { HttpEntity entity = response . getEntity ( ) ; if ( entity == null ) { return null ; } String contentEncoding = getContentEncoding ( entity ) ; InputStream in = entity . getContent ( ) ; BufferedReader r = new BufferedReader ( new InputStreamReader ( in , contentEncoding ) ) ; StringBuilder sb = new StringBuilder ( ) ; for ( ; ; ) { String l = r . readLine ( ) ; if ( l == null ) { break ; } sb . append ( l ) . append ( "\n" ) ; } r . close ( ) ; in . close ( ) ; return sb . toString ( ) ; }
{@inheritDoc}

@see uk.co.tfd.sm.api.proxy.ProxyResponse#getResponseBodyAsString()
{ @inheritDoc }