public class Curl extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Curl.Type |
| Modifier and Type | Method and Description |
|---|---|
Curl |
basicAuthentication(String auth) |
Curl |
basicAuthentication(String username,
String password) |
Curl |
body(String body) |
Curl |
cookie(String k,
Object v) |
Curl |
cookies(HashMap<String,Object> cs) |
Curl |
enableResponseLogging() |
Curl |
enableVerbose() |
Curl |
endPoint(String endPoint) |
Curl |
header(String k,
String v) |
Curl |
headers(HashMap<String,String> hs) |
static Curl |
of(String mUrl) |
Curl |
parameter(String k,
Object v) |
Curl |
parameters(HashMap<String,Object> ps) |
Curl |
timeOut(long mTimeOut) |
String |
toCurl() |
String |
toUrl() |
Curl |
type(Curl.Type t) |
Copyright © 2017 Anteros Tecnologia. All rights reserved.