@Singleton public class ConvertToGaeRequest extends Object implements com.google.common.base.Function<HttpRequest,com.google.appengine.api.urlfetch.HTTPRequest>
Modifier and Type | Field and Description |
---|---|
protected ContentMetadataCodec |
contentMetadataCodec |
Set<String> |
prohibitedHeaders |
static String |
USER_AGENT |
protected HttpUtils |
utils |
Modifier and Type | Method and Description |
---|---|
com.google.appengine.api.urlfetch.HTTPRequest |
apply(HttpRequest request)
byte [] content is replayable and the only content type supportable by GAE.
|
public static final String USER_AGENT
protected final HttpUtils utils
protected final ContentMetadataCodec contentMetadataCodec
public com.google.appengine.api.urlfetch.HTTPRequest apply(HttpRequest request)
apply
in interface com.google.common.base.Function<HttpRequest,com.google.appengine.api.urlfetch.HTTPRequest>
Copyright © 2009-2013 jclouds. All Rights Reserved.