public class AbstractUriReader extends Object
Result
.Constructor and Description |
---|
AbstractUriReader(org.apache.http.impl.client.CloseableHttpClient httpClient) |
Modifier and Type | Method and Description |
---|---|
<R> Result<R> |
execute(URI uri,
LambdaUtil.BiFunction_WithExceptions<URI,org.apache.http.HttpResponse,R,?> func) |
static String |
getCharset(org.apache.http.HttpResponse response) |
protected URI |
getCurrentUri() |
protected org.apache.http.impl.client.CloseableHttpClient |
getHttpClient() |
boolean |
isKeepingHeaders() |
void |
setKeepingHeaders(boolean keepingHeaders) |
public AbstractUriReader(org.apache.http.impl.client.CloseableHttpClient httpClient)
public static String getCharset(org.apache.http.HttpResponse response)
public boolean isKeepingHeaders()
public void setKeepingHeaders(boolean keepingHeaders)
protected org.apache.http.impl.client.CloseableHttpClient getHttpClient()
protected URI getCurrentUri()
public <R> Result<R> execute(URI uri, LambdaUtil.BiFunction_WithExceptions<URI,org.apache.http.HttpResponse,R,?> func)
Copyright © 2017. All rights reserved.