com.heroku.api.request.run
Class Run
java.lang.Object
com.heroku.api.request.run.Run
- All Implemented Interfaces:
- Request<RunResponse>
public class Run
- extends Object
- implements Request<RunResponse>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Run
public Run(String app,
String command)
Run
public Run(String app,
String command,
boolean attach)
getHttpMethod
public Http.Method getHttpMethod()
- Specified by:
getHttpMethod
in interface Request<RunResponse>
getEndpoint
public String getEndpoint()
- Specified by:
getEndpoint
in interface Request<RunResponse>
hasBody
public boolean hasBody()
- Specified by:
hasBody
in interface Request<RunResponse>
getBody
public String getBody()
- Specified by:
getBody
in interface Request<RunResponse>
getResponseType
public Http.Accept getResponseType()
- Specified by:
getResponseType
in interface Request<RunResponse>
getHeaders
public Map<String,String> getHeaders()
- Specified by:
getHeaders
in interface Request<RunResponse>
getResponse
public RunResponse getResponse(byte[] bytes,
int status)
- Specified by:
getResponse
in interface Request<RunResponse>
Copyright © 2012. All Rights Reserved.