public class Autt extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static Connect |
connect() |
static Connect |
connect(String saveCookie) |
static GetRequest |
get(String url) |
static GetRequest |
get(String url,
Object param) |
static Response |
getAndSend(String url) |
static Response |
getAndSend(String url,
Object param) |
static String |
getContext() |
static PostRequest |
post(String url) |
static PostRequest |
post(String url,
Object body) |
static PostRequest |
post(String url,
Object body,
ContentType contentType) |
static Response |
postAndSend(String url,
Object body,
ContentType contentType) |
static Response |
postByJSONAndSend(String url,
Object body) |
static void |
setContext(String context) |
public static String getContext()
public static void setContext(String context)
public static Connect connect()
public static GetRequest get(String url)
public static GetRequest get(String url, Object param)
public static PostRequest post(String url, Object body, ContentType contentType)
public static PostRequest post(String url, Object body)
public static PostRequest post(String url)
public static Response postAndSend(String url, Object body, ContentType contentType)
Copyright © 2022. All rights reserved.