IRequestHandlerpublic class CreateBucketRequestHandler extends RequestHandler
| Constructor | Description |
|---|---|
CreateBucketRequestHandler() |
| Modifier and Type | Method | Description |
|---|---|---|
AmazonWebServiceRequest |
beforeMarshalling(AmazonWebServiceRequest request) |
Runs any additional processing logic on the specified request object before it is marshaled
into an HTTP request.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterError, afterResponse, beforeRequest, beforeUnmarshallingpublic AmazonWebServiceRequest beforeMarshalling(AmazonWebServiceRequest request)
IRequestHandlerIf you're going to modify the request, make sure to clone it first, modify the clone, and return it from this method. Otherwise your changes will leak out to the user, who might reuse the request object without realizing that it was modified as part of sending it the first time.
Super big hack: This may not be called if the request is not an AmazonWebServiceRequest.
beforeMarshalling in interface IRequestHandlerbeforeMarshalling in class RequestHandlerrequest - the request passed in by the user.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.