Package org.jclouds.http.apachehc
Class ApacheHCUtils
- java.lang.Object
-
- org.jclouds.http.apachehc.ApacheHCUtils
-
@Singleton public class ApacheHCUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApacheHCUtils.HttpEntityPayload
-
Field Summary
Fields Modifier and Type Field Description static String
USER_AGENT
-
Constructor Summary
Constructors Constructor Description ApacheHCUtils(ContentMetadataCodec contentMetadataCodec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntityForContent(org.apache.http.HttpEntityEnclosingRequest apacheRequest, Payload payload)
org.apache.http.client.methods.HttpUriRequest
convertToApacheRequest(HttpRequest request)
-
-
-
Field Detail
-
USER_AGENT
public static final String USER_AGENT
-
-
Constructor Detail
-
ApacheHCUtils
public ApacheHCUtils(ContentMetadataCodec contentMetadataCodec)
-
-
Method Detail
-
convertToApacheRequest
public org.apache.http.client.methods.HttpUriRequest convertToApacheRequest(HttpRequest request)
-
addEntityForContent
public void addEntityForContent(org.apache.http.HttpEntityEnclosingRequest apacheRequest, Payload payload)
-
-