public interface HttpClient
HttpRequestand return a
HttpResponse. There are some requirements for its implementation.
HttpRequestis converted from an
AmazonWebServiceRequestwith signature information. If modified, the request is likely to be rejected by AWS service.
BrowserCompatHostnameVerifierso that a wildcard (such as "*.amazonaws.com") matches all subdomains, including "a.b.amazonaws.com". This is needed for S3 virtual hosting. See Virtual Hosting of Buckets for more details.
HttpResponse execute(HttpRequest request) throws java.io.IOException
request- a HTTP request
java.io.IOException- in case of a connection problem
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.