Package | Description |
---|---|
com.scvngr.levelup.core.net |
Modifier and Type | Method and Description |
---|---|
HttpMethod |
AbstractRequest.getMethod() |
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
AbstractRequest(HttpMethod method,
String url,
Map<String,String> requestHeaders,
Map<String,String> queryParams)
Create a new
AbstractRequest . |
AbstractRequest(HttpMethod method,
Uri url,
Map<String,String> requestHeaders)
Create a new
AbstractRequest from an absolute URL. |
LevelUpRequest(Context context,
HttpMethod method,
String apiVersion,
String endpoint,
Map<String,String> queryParams,
Map<String,String> headers,
RequestBody body,
AccessTokenRetriever retriever)
Creates a new
LevelUpRequest . |
LevelUpRequest(Context context,
HttpMethod method,
String apiVersion,
String endpoint,
Map<String,String> queryParams,
RequestBody body)
Creates a new
LevelUpRequest . |
LevelUpRequest(Context context,
HttpMethod method,
String apiVersion,
String endpoint,
Map<String,String> queryParams,
RequestBody body,
AccessTokenRetriever retriever)
Creates a new
LevelUpRequest . |
LevelUpRequest(Context context,
HttpMethod method,
Uri url,
RequestBody body,
AccessTokenRetriever retriever)
Creates a new
LevelUpRequest . |