@Singleton public class GaeHttpCommandExecutorService extends BaseHttpCommandExecutorService<com.google.appengine.api.urlfetch.HTTPRequest>
HttpCommandExecutorService
Modifier and Type | Field and Description |
---|---|
static String |
USER_AGENT |
contentMetadataCodec, errorHandler, headerLog, ioRetryHandler, logger, retryHandler, utils, wire
Constructor and Description |
---|
GaeHttpCommandExecutorService(com.google.appengine.api.urlfetch.URLFetchService urlFetchService,
HttpUtils utils,
ContentMetadataCodec contentMetadataCodec,
IOExceptionRetryHandler ioRetryHandler,
DelegatingRetryHandler retryHandler,
DelegatingErrorHandler errorHandler,
HttpWire wire,
ConvertToGaeRequest convertToGaeRequest,
ConvertToJcloudsResponse convertToJcloudsResponse,
String idempotentMethods) |
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) |
invoke
public static final String USER_AGENT
@Inject public GaeHttpCommandExecutorService(com.google.appengine.api.urlfetch.URLFetchService urlFetchService, HttpUtils utils, ContentMetadataCodec contentMetadataCodec, IOExceptionRetryHandler ioRetryHandler, DelegatingRetryHandler retryHandler, DelegatingErrorHandler errorHandler, HttpWire wire, ConvertToGaeRequest convertToGaeRequest, ConvertToJcloudsResponse convertToJcloudsResponse, @Named(value="jclouds.idempotent-methods") String idempotentMethods)
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-2016 The Apache Software Foundation. All Rights Reserved.