com.heroku.api.request.app
Class AppCreate

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

public class AppCreate
extends Object
implements Request<App>

TODO: Javadoc

Author:
Naaman Newbold

Constructor Summary
AppCreate(App app)
           
 
Method Summary
 String getBody()
           
 String getEndpoint()
           
 Map<String,String> getHeaders()
           
 Http.Method getHttpMethod()
           
 App getResponse(byte[] in, 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

AppCreate

public AppCreate(App app)
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[] in,
                       int code)
Specified by:
getResponse in interface Request<App>


Copyright © 2012. All Rights Reserved.