forked from apache/cloudstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAmazonS3CallbackHandler.java
More file actions
284 lines (243 loc) · 10.2 KB
/
AmazonS3CallbackHandler.java
File metadata and controls
284 lines (243 loc) · 10.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
/**
* AmazonS3CallbackHandler.java
*
* This file was auto-generated from WSDL
* by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:00 EDT)
*/
package com.amazon.s3.client;
/**
* AmazonS3CallbackHandler Callback class, Users can extend this class and implement
* their own receiveResult and receiveError methods.
*/
public abstract class AmazonS3CallbackHandler {
protected Object clientData;
/**
* User can pass in any object that needs to be accessed once the NonBlocking
* Web service call is finished and appropriate method of this CallBack is called.
* @param clientData Object mechanism by which the user can pass in user data
* that will be avilable at the time this callback is called.
*/
public AmazonS3CallbackHandler(Object clientData) {
this.clientData = clientData;
}
/**
* Please use this constructor if you don't want to set any clientData
*/
public AmazonS3CallbackHandler() {
this.clientData = null;
}
/**
* Get the client data
*/
public Object getClientData() {
return clientData;
}
/**
* auto generated Axis2 call back method for getBucketLoggingStatus method
* override this method for handling normal response from getBucketLoggingStatus operation
*/
public void receiveResultgetBucketLoggingStatus(com.amazon.s3.client.AmazonS3Stub.GetBucketLoggingStatusResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from getBucketLoggingStatus operation
*/
public void receiveErrorgetBucketLoggingStatus(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for copyObject method
* override this method for handling normal response from copyObject operation
*/
public void receiveResultcopyObject(com.amazon.s3.client.AmazonS3Stub.CopyObjectResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from copyObject operation
*/
public void receiveErrorcopyObject(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for getBucketAccessControlPolicy method
* override this method for handling normal response from getBucketAccessControlPolicy operation
*/
public void receiveResultgetBucketAccessControlPolicy(com.amazon.s3.client.AmazonS3Stub.GetBucketAccessControlPolicyResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from getBucketAccessControlPolicy operation
*/
public void receiveErrorgetBucketAccessControlPolicy(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for listBucket method
* override this method for handling normal response from listBucket operation
*/
public void receiveResultlistBucket(com.amazon.s3.client.AmazonS3Stub.ListBucketResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from listBucket operation
*/
public void receiveErrorlistBucket(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for putObject method
* override this method for handling normal response from putObject operation
*/
public void receiveResultputObject(com.amazon.s3.client.AmazonS3Stub.PutObjectResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from putObject operation
*/
public void receiveErrorputObject(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for createBucket method
* override this method for handling normal response from createBucket operation
*/
public void receiveResultcreateBucket(com.amazon.s3.client.AmazonS3Stub.CreateBucketResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from createBucket operation
*/
public void receiveErrorcreateBucket(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for listAllMyBuckets method
* override this method for handling normal response from listAllMyBuckets operation
*/
public void receiveResultlistAllMyBuckets(com.amazon.s3.client.AmazonS3Stub.ListAllMyBucketsResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from listAllMyBuckets operation
*/
public void receiveErrorlistAllMyBuckets(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for getObject method
* override this method for handling normal response from getObject operation
*/
public void receiveResultgetObject(com.amazon.s3.client.AmazonS3Stub.GetObjectResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from getObject operation
*/
public void receiveErrorgetObject(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for deleteBucket method
* override this method for handling normal response from deleteBucket operation
*/
public void receiveResultdeleteBucket(com.amazon.s3.client.AmazonS3Stub.DeleteBucketResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from deleteBucket operation
*/
public void receiveErrordeleteBucket(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for setBucketLoggingStatus method
* override this method for handling normal response from setBucketLoggingStatus operation
*/
public void receiveResultsetBucketLoggingStatus(com.amazon.s3.client.AmazonS3Stub.SetBucketLoggingStatusResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from setBucketLoggingStatus operation
*/
public void receiveErrorsetBucketLoggingStatus(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for getObjectAccessControlPolicy method
* override this method for handling normal response from getObjectAccessControlPolicy operation
*/
public void receiveResultgetObjectAccessControlPolicy(com.amazon.s3.client.AmazonS3Stub.GetObjectAccessControlPolicyResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from getObjectAccessControlPolicy operation
*/
public void receiveErrorgetObjectAccessControlPolicy(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for deleteObject method
* override this method for handling normal response from deleteObject operation
*/
public void receiveResultdeleteObject(com.amazon.s3.client.AmazonS3Stub.DeleteObjectResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from deleteObject operation
*/
public void receiveErrordeleteObject(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for setBucketAccessControlPolicy method
* override this method for handling normal response from setBucketAccessControlPolicy operation
*/
public void receiveResultsetBucketAccessControlPolicy(com.amazon.s3.client.AmazonS3Stub.SetBucketAccessControlPolicyResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from setBucketAccessControlPolicy operation
*/
public void receiveErrorsetBucketAccessControlPolicy(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for setObjectAccessControlPolicy method
* override this method for handling normal response from setObjectAccessControlPolicy operation
*/
public void receiveResultsetObjectAccessControlPolicy(com.amazon.s3.client.AmazonS3Stub.SetObjectAccessControlPolicyResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from setObjectAccessControlPolicy operation
*/
public void receiveErrorsetObjectAccessControlPolicy(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for putObjectInline method
* override this method for handling normal response from putObjectInline operation
*/
public void receiveResultputObjectInline(com.amazon.s3.client.AmazonS3Stub.PutObjectInlineResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from putObjectInline operation
*/
public void receiveErrorputObjectInline(java.lang.Exception e) {
}
/**
* auto generated Axis2 call back method for getObjectExtended method
* override this method for handling normal response from getObjectExtended operation
*/
public void receiveResultgetObjectExtended(com.amazon.s3.client.AmazonS3Stub.GetObjectExtendedResponse result) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from getObjectExtended operation
*/
public void receiveErrorgetObjectExtended(java.lang.Exception e) {
}
}