|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.client.core.Request
public class Request
A HTTP request.
Constructor Summary | |
---|---|
Request(HttpMethod method,
java.lang.String path,
java.lang.String body,
ResponseHandler callback)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getBody()
Accessor. |
ResponseHandler |
getCallback()
Accessor. |
HttpMethod |
getMethod()
Accessor. |
java.lang.String |
getPath()
Accessor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Request(HttpMethod method, java.lang.String path, java.lang.String body, ResponseHandler callback)
method
- The request's HTTP method.path
- The request's path.body
- The request's body.callback
- The callback fired when the request completes.Method Detail |
---|
public HttpMethod getMethod()
public java.lang.String getBody()
public java.lang.String getPath()
public ResponseHandler getCallback()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |