|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.http.internal.BaseHttpCommandExecutorService<HttpURLConnection>
org.jclouds.http.internal.JavaUrlHttpCommandExecutorService
@Singleton public class JavaUrlHttpCommandExecutorService
Basic implementation of a HttpCommandExecutorService.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jclouds.http.internal.BaseHttpCommandExecutorService |
|---|
BaseHttpCommandExecutorService.HttpResponseCallable |
| Field Summary | |
|---|---|
static String |
DEFAULT_USER_AGENT
|
protected Logger |
logger
|
| Fields inherited from class org.jclouds.http.internal.BaseHttpCommandExecutorService |
|---|
contentMetadataCodec, headerLog, utils, wire |
| Constructor Summary | |
|---|---|
JavaUrlHttpCommandExecutorService(HttpUtils utils,
ContentMetadataCodec contentMetadataCodec,
ExecutorService ioWorkerExecutor,
DelegatingRetryHandler retryHandler,
IOExceptionRetryHandler ioRetryHandler,
DelegatingErrorHandler errorHandler,
HttpWire wire,
HostnameVerifier verifier,
com.google.common.base.Supplier<SSLContext> untrustedSSLContextProvider)
|
|
| Method Summary | |
|---|---|
protected void |
cleanup(HttpURLConnection connection)
|
protected HttpURLConnection |
convert(HttpRequest request)
|
protected HttpResponse |
invoke(HttpURLConnection connection)
|
| Methods inherited from class org.jclouds.http.internal.BaseHttpCommandExecutorService |
|---|
consumeOnClose, submit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_USER_AGENT
protected Logger logger
| Constructor Detail |
|---|
@Inject
public JavaUrlHttpCommandExecutorService(HttpUtils utils,
ContentMetadataCodec contentMetadataCodec,
@Named(value="jclouds.io-worker-threads")
ExecutorService ioWorkerExecutor,
DelegatingRetryHandler retryHandler,
IOExceptionRetryHandler ioRetryHandler,
DelegatingErrorHandler errorHandler,
HttpWire wire,
@Named(value="untrusted")
HostnameVerifier verifier,
@Named(value="untrusted")
com.google.common.base.Supplier<SSLContext> untrustedSSLContextProvider)
throws SecurityException,
NoSuchFieldException
SecurityException
NoSuchFieldException| Method Detail |
|---|
protected HttpResponse invoke(HttpURLConnection connection)
throws IOException,
InterruptedException
invoke in class BaseHttpCommandExecutorService<HttpURLConnection>IOException
InterruptedException
protected HttpURLConnection convert(HttpRequest request)
throws IOException,
InterruptedException
convert in class BaseHttpCommandExecutorService<HttpURLConnection>IOException
InterruptedExceptionprotected void cleanup(HttpURLConnection connection)
cleanup in class BaseHttpCommandExecutorService<HttpURLConnection>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||