Package org.kie.server.common.rest
Interface KieServerHttpRequest.ConnectionFactory
-
- Enclosing class:
- KieServerHttpRequest
public static interface KieServerHttpRequest.ConnectionFactoryCreatesHTTP connectionsforurls.
-
-
Field Summary
Fields Modifier and Type Field Description static KieServerHttpRequest.ConnectionFactoryDEFAULTAKieServerHttpRequest.ConnectionFactorywhich uses the built-inURL.openConnection()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpURLConnectioncreate(URL url)Open anHttpURLConnectionfor the specifiedURL.HttpURLConnectioncreate(URL url, Proxy proxy)
-
-
-
Field Detail
-
DEFAULT
static final KieServerHttpRequest.ConnectionFactory DEFAULT
AKieServerHttpRequest.ConnectionFactorywhich uses the built-inURL.openConnection()
-
-
Method Detail
-
create
HttpURLConnection create(URL url) throws IOException
Open anHttpURLConnectionfor the specifiedURL.- Throws:
IOException
-
create
HttpURLConnection create(URL url, Proxy proxy) throws IOException
- Throws:
IOException
-
-