com.heroku.api.request.releases
Class ReleaseInfo
java.lang.Object
com.heroku.api.request.releases.ReleaseInfo
- All Implemented Interfaces:
- Request<Release>
public class ReleaseInfo
- extends Object
- implements Request<Release>
TODO: Javadoc
- Author:
- Naaman Newbold
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReleaseInfo
public ReleaseInfo(String appName,
String releaseName)
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.