List of usage examples for org.apache.http.impl.client AbstractResponseHandler handleEntity
public abstract T handleEntity(HttpEntity entity) throws IOException;
From source file:org.opendatakit.briefcase.reused.http.CommonsHttp.java
private static <T> T uncheckedHandleEntity(AbstractResponseHandler<T> handler, HttpEntity entity) { try {/*from ww w. j a v a2 s .c om*/ return handler.handleEntity(entity); } catch (IOException e) { throw new UncheckedIOException(e); } }