<T> T get(URI uri, Class<T> classType) {
		InputStream in = null;
		try {
			in = get(uri);
			return getGson().fromJson(new InputStreamReader(in, "UTF-8"), classType);
		} catch (UnsupportedEncodingException e) {
			throw new CouchDbException(e);
		} finally {
			close(in);
		}
	}
<T> T get(URI uri, Class<T> classType) {
		InputStream in = null;
		try {
			in = get(uri);
			return getGson().fromJson(new InputStreamReader(in, "UTF-8"), classType);
		} catch (UnsupportedEncodingException e) {
			throw new CouchDbException(e);
		} finally {
			close(in);
		}
	}
< T > T get ( URI uri , Class < T > classType ) { InputStream in = null ; try { in = get ( uri ) ; return getGson ( ) . fromJson ( new InputStreamReader ( in , "UTF-8" ) , classType ) ; } catch ( UnsupportedEncodingException e ) { throw new CouchDbException ( e ) ; } finally { close ( in ) ; } }
Performs a HTTP GET request.
@return An object of type T
Performs a HTTP GET request .