com.heroku.api.request.addon
Class AddonRemove

java.lang.Object
  extended by com.heroku.api.request.addon.AddonRemove
All Implemented Interfaces:
Request<AddonChange>

public class AddonRemove
extends Object
implements Request<AddonChange>

TODO: Javadoc

Author:
Naaman Newbold

Constructor Summary
AddonRemove(String appName, String addonName)
           
 
Method Summary
 String getBody()
           
 String getEndpoint()
           
 Map<String,String> getHeaders()
           
 Http.Method getHttpMethod()
           
 AddonChange getResponse(byte[] bytes, int status)
           
 Http.Accept getResponseType()
           
 boolean hasBody()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddonRemove

public AddonRemove(String appName,
                   String addonName)
Method Detail

getHttpMethod

public Http.Method getHttpMethod()
Specified by:
getHttpMethod in interface Request<AddonChange>

getEndpoint

public String getEndpoint()
Specified by:
getEndpoint in interface Request<AddonChange>

hasBody

public boolean hasBody()
Specified by:
hasBody in interface Request<AddonChange>

getBody

public String getBody()
Specified by:
getBody in interface Request<AddonChange>

getResponseType

public Http.Accept getResponseType()
Specified by:
getResponseType in interface Request<AddonChange>

getHeaders

public Map<String,String> getHeaders()
Specified by:
getHeaders in interface Request<AddonChange>

getResponse

public AddonChange getResponse(byte[] bytes,
                               int status)
Specified by:
getResponse in interface Request<AddonChange>


Copyright © 2012. All Rights Reserved.