com.heroku.api.request.app
Class AppInfo

java.lang.Object
  extended by com.heroku.api.request.app.AppInfo
All Implemented Interfaces:
Request<App>

public class AppInfo
extends Object
implements Request<App>

TODO: Javadoc

Author:
Naaman Newbold

Constructor Summary
AppInfo(String appName)
           
 
Method Summary
 String getBody()
           
 String getEndpoint()
           
 Map<String,String> getHeaders()
           
 Http.Method getHttpMethod()
           
 App getResponse(byte[] data, int code)
           
 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

AppInfo

public AppInfo(String appName)
Method Detail

getHttpMethod

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

getEndpoint

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

hasBody

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

getBody

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

getResponseType

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

getHeaders

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

getResponse

public App getResponse(byte[] data,
                       int code)
Specified by:
getResponse in interface Request<App>


Copyright © 2012. All Rights Reserved.