@Singleton public class GaeHttpCommandExecutorService extends BaseHttpCommandExecutorService<com.google.appengine.api.urlfetch.HTTPRequest>
HttpCommandExecutorServiceBaseHttpCommandExecutorService.HttpResponseCallable| Modifier and Type | Field and Description |
|---|---|
static String |
USER_AGENT |
headerLog, logger, utils, wire| Constructor and Description |
|---|
GaeHttpCommandExecutorService(com.google.appengine.api.urlfetch.URLFetchService urlFetchService,
HttpUtils utils,
ExecutorService ioExecutor,
IOExceptionRetryHandler ioRetryHandler,
DelegatingRetryHandler retryHandler,
DelegatingErrorHandler errorHandler,
HttpWire wire,
ConvertToGaeRequest convertToGaeRequest,
ConvertToJcloudsResponse convertToJcloudsResponse) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup(com.google.appengine.api.urlfetch.HTTPRequest nativeRequest)
nothing to clean up.
|
protected com.google.appengine.api.urlfetch.HTTPRequest |
convert(HttpRequest request) |
protected HttpResponse |
convert(com.google.appengine.api.urlfetch.HTTPResponse gaeResponse) |
protected HttpResponse |
invoke(com.google.appengine.api.urlfetch.HTTPRequest request) |
consumeOnClose, submitpublic static final String USER_AGENT
@Inject public GaeHttpCommandExecutorService(com.google.appengine.api.urlfetch.URLFetchService urlFetchService, HttpUtils utils, @Named(value="jclouds.io-worker-threads") ExecutorService ioExecutor, IOExceptionRetryHandler ioRetryHandler, DelegatingRetryHandler retryHandler, DelegatingErrorHandler errorHandler, HttpWire wire, ConvertToGaeRequest convertToGaeRequest, ConvertToJcloudsResponse convertToJcloudsResponse)
protected HttpResponse convert(com.google.appengine.api.urlfetch.HTTPResponse gaeResponse)
protected com.google.appengine.api.urlfetch.HTTPRequest convert(HttpRequest request) throws IOException
convert in class BaseHttpCommandExecutorService<com.google.appengine.api.urlfetch.HTTPRequest>IOExceptionprotected void cleanup(com.google.appengine.api.urlfetch.HTTPRequest nativeRequest)
cleanup in class BaseHttpCommandExecutorService<com.google.appengine.api.urlfetch.HTTPRequest>protected HttpResponse invoke(com.google.appengine.api.urlfetch.HTTPRequest request) throws IOException
invoke in class BaseHttpCommandExecutorService<com.google.appengine.api.urlfetch.HTTPRequest>IOExceptionCopyright © 2009-2012 jclouds. All Rights Reserved.