@Singleton public class ApacheHCUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ApacheHCUtils.HttpEntityPayload |
Modifier and Type | Field and Description |
---|---|
static String |
USER_AGENT |
Constructor and Description |
---|
ApacheHCUtils(ContentMetadataCodec contentMetadataCodec) |
Modifier and Type | Method and Description |
---|---|
void |
addEntityForContent(org.apache.http.HttpEntityEnclosingRequest apacheRequest,
Payload payload) |
org.apache.http.client.methods.HttpUriRequest |
convertToApacheRequest(HttpRequest request) |
public static final String USER_AGENT
public ApacheHCUtils(ContentMetadataCodec contentMetadataCodec)
public org.apache.http.client.methods.HttpUriRequest convertToApacheRequest(HttpRequest request)
public void addEntityForContent(org.apache.http.HttpEntityEnclosingRequest apacheRequest, Payload payload)
Copyright © 2009-2013 jclouds. All Rights Reserved.