KIE Remote Services :: Common 6.2.0.Final

org.kie.remote.common.rest
Interface KieRemoteHttpRequest.ConnectionFactory

Enclosing class:
KieRemoteHttpRequest

public static interface KieRemoteHttpRequest.ConnectionFactory

Creates HTTP connections for urls.


Field Summary
static KieRemoteHttpRequest.ConnectionFactory DEFAULT
          A KieRemoteHttpRequest.ConnectionFactory which uses the built-in URL.openConnection()
 
Method Summary
 HttpURLConnection create(URL url)
          Open an HttpURLConnection for the specified URL.
 HttpURLConnection create(URL url, Proxy proxy)
          Open an HttpURLConnection for the specified URL and Proxy.
 

Field Detail

DEFAULT

static final KieRemoteHttpRequest.ConnectionFactory DEFAULT
A KieRemoteHttpRequest.ConnectionFactory which uses the built-in URL.openConnection()

Method Detail

create

HttpURLConnection create(URL url)
                         throws IOException
Open an HttpURLConnection for the specified URL.

Throws:
IOException

create

HttpURLConnection create(URL url,
                         Proxy proxy)
                         throws IOException
Open an HttpURLConnection for the specified URL and Proxy.

Throws:
IOException

KIE Remote Services :: Common 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.