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