libcloud.providers.rackspace
Class RackspaceHandler

java.lang.Object
  extended by base.connection.ResponseHandler
      extended by libcloud.providers.rackspace.RackspaceHandler

public class RackspaceHandler
extends ResponseHandler


Field Summary
 
Fields inherited from class base.connection.ResponseHandler
object, response
 
Constructor Summary
RackspaceHandler(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

RackspaceHandler

public RackspaceHandler(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()