|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.heroku.api.request.sharing.SharingAdd
public class SharingAdd
TODO: Javadoc
Constructor Summary | |
---|---|
SharingAdd(String appName,
String collaboratorEmail)
|
Method Summary | |
---|---|
String |
getBody()
Value of the request body. |
String |
getEndpoint()
Path and query parameters of a URL. |
Map<String,String> |
getHeaders()
Map of request-specific HTTP headers. |
Http.Method |
getHttpMethod()
HTTP method. |
Unit |
getResponse(byte[] in,
int code)
Response handler. |
Http.Accept |
getResponseType()
HTTP Accept header. |
boolean |
hasBody()
Whether or not the request has a body. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SharingAdd(String appName, String collaboratorEmail)
Method Detail |
---|
public Http.Method getHttpMethod()
Request
getHttpMethod
in interface Request<Unit>
public String getEndpoint()
Request
getEndpoint
in interface Request<Unit>
public boolean hasBody()
Request
hasBody
in interface Request<Unit>
public String getBody()
Request
getBody
in interface Request<Unit>
public Http.Accept getResponseType()
Request
getResponseType
in interface Request<Unit>
Http.Accept
public Map<String,String> getHeaders()
Request
Map
of request-specific HTTP headers.
getHeaders
in interface Request<Unit>
public Unit getResponse(byte[] in, int code)
Request
getResponse
in interface Request<Unit>
in
- Data returned from the request.code
- HTTP status code.
T
as specified by an individual request.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |