@Singleton public class GaeHttpCommandExecutorService extends BaseHttpCommandExecutorService<com.google.appengine.api.urlfetch.HTTPRequest>
HttpCommandExecutorService
BaseHttpCommandExecutorService.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, submit
public 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>
IOException
protected 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>
IOException
Copyright © 2009-2012 jclouds. All Rights Reserved.