|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectretrofit.client.Request
public final class Request
Encapsulates all of the information necessary to make an HTTP request.
| Constructor Summary | |
|---|---|
Request(String method,
String url,
List<Header> headers,
TypedOutput body)
|
|
| Method Summary | |
|---|---|
TypedOutput |
getBody()
Returns the request body or null. |
List<Header> |
getHeaders()
Returns an unmodifiable list of headers, never null. |
String |
getMethod()
HTTP method verb. |
String |
getUrl()
Target URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Request(String method,
String url,
List<Header> headers,
TypedOutput body)
| Method Detail |
|---|
public String getMethod()
public String getUrl()
public List<Header> getHeaders()
null.
public TypedOutput getBody()
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||