|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.egit.github.core.client.GitHubRequest
public class GitHubRequest
GitHub API request class that contains the URI and parameters of the request
as well as the expected Type of the response.
The generateUri() method should be used to build a full URI that
contains both the base uri and the parameters set.
| Constructor Summary | |
|---|---|
GitHubRequest()
Create empty request |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
generateUri()
Generate full uri |
protected List<org.apache.http.NameValuePair> |
getPairs(Map<String,String> data)
Get name value pairs for data map. |
Map<String,String> |
getParams()
|
Type |
getType()
|
String |
getUri()
|
int |
hashCode()
|
GitHubRequest |
setParams(Map<String,String> params)
|
GitHubRequest |
setType(Type type)
|
GitHubRequest |
setUri(String uri)
|
GitHubRequest |
setUri(StringBuilder uri)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GitHubRequest()
| Method Detail |
|---|
public String getUri()
protected List<org.apache.http.NameValuePair> getPairs(Map<String,String> data)
data -
public String generateUri()
public GitHubRequest setUri(StringBuilder uri)
uri -
public GitHubRequest setUri(String uri)
uri -
public Map<String,String> getParams()
public GitHubRequest setParams(Map<String,String> params)
params -
public Type getType()
public GitHubRequest setType(Type type)
type -
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||