| Package | Description |
|---|---|
| net.nowtryz.cafetapi.http |
Fetching data package
|
| Modifier and Type | Method and Description |
|---|---|
static HttpManager.HttpMethod |
HttpManager.HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpManager.HttpMethod[] |
HttpManager.HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
HTTPResponse |
HttpManager.query(HttpManager.HttpMethod method,
String path)
Perform an http rest query to the server
|
HTTPResponse |
HttpManager.query(HttpManager.HttpMethod method,
String path,
com.google.gson.JsonElement body)
Perform an http rest query to the server with a body
|
HTTPResponse |
HttpManager.query(HttpManager.HttpMethod method,
String path,
com.google.gson.JsonElement body,
Map<String,String> headers)
Perform an http rest query to the server with a body and additionnal headers
|
Copyright © 2019 Nowtryz. All rights reserved.