public class ApacheOcspFetcher extends Object
| Modifier and Type | Field and Description |
|---|---|
static Property<org.apache.http.conn.HttpClientConnectionManager> |
CONNECTION_MANAGER |
static Property<Boolean> |
CONNECTION_MANAGER_SHARED |
protected Properties |
properties |
static Property<Integer> |
TIMEOUT_CONNECT |
static Property<Integer> |
TIMEOUT_CONNECTION_MANAGER |
static Property<Integer> |
TIMEOUT_READ |
| Modifier and Type | Method and Description |
|---|---|
static Builder<OcspFetcher> |
builder()
Builder to create an instance of OcspFetcher using Apache HttpClient for connectivity.
|
OcspFetcherResponse |
fetch(URI uri,
byte[] content) |
protected org.apache.http.impl.client.CloseableHttpClient |
getHttpClient() |
protected org.apache.http.client.config.RequestConfig |
getRequestConfig() |
public static final Property<org.apache.http.conn.HttpClientConnectionManager> CONNECTION_MANAGER
protected final Properties properties
public static Builder<OcspFetcher> builder()
public OcspFetcherResponse fetch(URI uri, byte[] content) throws IOException
IOExceptionprotected org.apache.http.impl.client.CloseableHttpClient getHttpClient()
protected org.apache.http.client.config.RequestConfig getRequestConfig()
Copyright © 2023 NorStella. All rights reserved.