Package | Description |
---|---|
org.nutz.http |
简洁的 Http 客户端实现
|
Modifier and Type | Method and Description |
---|---|
Request.METHOD |
Request.getMethod() |
static Request.METHOD |
Request.METHOD.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Request.METHOD[] |
Request.METHOD.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Request |
Request.create(String url,
Request.METHOD method) |
static Request |
Request.create(String url,
Request.METHOD method,
Map<String,Object> params) |
static Request |
Request.create(String url,
Request.METHOD method,
Map<String,Object> params,
Header header) |
static Request |
Request.create(String url,
Request.METHOD method,
String paramsAsJson) |
static Request |
Request.create(String url,
Request.METHOD method,
String paramsAsJson,
Header header) |
Request |
Request.setMethod(Request.METHOD method) |
Copyright © 2017. All rights reserved.