simplecloud.storage.providers.amazon
Class S3Handler

java.lang.Object
  extended by base.connection.ResponseHandler
      extended by simplecloud.storage.providers.amazon.S3Handler

public class S3Handler
extends ResponseHandler


Field Summary
 
Fields inherited from class base.connection.ResponseHandler
object, response
 
Constructor Summary
S3Handler(IResponse response)
           
 
Method Summary
protected  void parseBody()
          Parses the response's body.
protected  java.lang.String parseError()
          Returns a String expressing the error that occurred.
 
Methods inherited from class base.connection.ResponseHandler
getParsedObject, getResponse, success
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

S3Handler

public S3Handler(IResponse response)
Method Detail

parseBody

protected void parseBody()
Description copied from class: ResponseHandler
Parses the response's body. The parsed response is stored in 'object'. This object is then used within the Driver to custom parse the response. Subclasses should override for custom processing.

Overrides:
parseBody in class ResponseHandler
See Also:
IBMHandler, IBMDriver

parseError

protected java.lang.String parseError()
Description copied from class: ResponseHandler
Returns a String expressing the error that occurred. Subclasses should override for custom processing.

Overrides:
parseError in class ResponseHandler
Returns:
String represents the error that occurred if !success()