public interface HttpClient
HttpRequest
and return a HttpResponse
. There are some
requirements for its implementation.
HttpRequest
is
converted from an AmazonWebServiceRequest
with signature information.
If modified, the request is likely to be rejected by AWS service.Modifier and Type | Method and Description |
---|---|
HttpResponse |
execute(HttpRequest request)
Executes a
HttpRequest and returns a HttpResponse . |
void |
shutdown()
Forcefully shutdown this HTTP client and release all underlying
resources.
|
HttpResponse execute(HttpRequest request) throws java.io.IOException
HttpRequest
and returns a HttpResponse
.request
- a HTTP requestjava.io.IOException
- in case of a connection problemvoid shutdown()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.