com.heroku.api.request.releases
Class ReleaseInfo

java.lang.Object
  extended by com.heroku.api.request.releases.ReleaseInfo
All Implemented Interfaces:
Request<Release>

public class ReleaseInfo
extends Object
implements Request<Release>

TODO: Javadoc

Author:
Naaman Newbold

Constructor Summary
ReleaseInfo(String appName, String releaseName)
           
 
Method Summary
 String getBody()
           
 String getEndpoint()
           
 Map<String,String> getHeaders()
           
 Http.Method getHttpMethod()
           
 Release 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

ReleaseInfo

public ReleaseInfo(String appName,
                   String releaseName)
Method Detail

getHttpMethod

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

getEndpoint

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

hasBody

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

getBody

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

getResponseType

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

getHeaders

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

getResponse

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


Copyright © 2012. All Rights Reserved.