public static interface KieServerHttpRequest.ConnectionFactory
HTTP connections for urls.| Modifier and Type | Field and Description |
|---|---|
static KieServerHttpRequest.ConnectionFactory |
DEFAULT
A
KieServerHttpRequest.ConnectionFactory which uses the built-in URL.openConnection() |
| Modifier and Type | Method and Description |
|---|---|
HttpURLConnection |
create(URL url)
Open an
HttpURLConnection for the specified URL. |
HttpURLConnection |
create(URL url,
Proxy proxy)
|
static final KieServerHttpRequest.ConnectionFactory DEFAULT
KieServerHttpRequest.ConnectionFactory which uses the built-in URL.openConnection()HttpURLConnection create(URL url) throws IOException
HttpURLConnection for the specified URL.IOExceptionHttpURLConnection create(URL url, Proxy proxy) throws IOException
IOExceptionCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.