| 程序包 | 说明 |
|---|---|
| cn.ipokerface.weixin.request.http |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpMethod |
HttpHeaders.getAccessControlRequestMethod()
Returns the value of the
Access-Control-Request-Method request
header. |
HttpMethod |
HttpRequest.getMethod() |
static HttpMethod |
HttpMethod.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static HttpMethod[] |
HttpMethod.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<HttpMethod> |
HttpHeaders.getAccessControlAllowMethods()
Returns the value of the
Access-Control-Allow-Methods response
header. |
Set<HttpMethod> |
HttpHeaders.getAllow()
Return the set of allowed
HTTP methods, as specified
by the Allow header. |
Set<HttpMethod> |
HttpClient.options(String url) |
Set<HttpMethod> |
AbstractHttpClient.options(String url) |
Set<HttpMethod> |
HttpClient.options(String url,
URLParameter... parameters) |
Set<HttpMethod> |
AbstractHttpClient.options(String url,
URLParameter... parameters) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected HttpResponse |
AbstractHttpClient.execute(HttpMethod method,
String url) |
protected HttpResponse |
AbstractHttpClient.execute(HttpMethod method,
String url,
URLParameter... parameters) |
void |
HttpHeaders.setAccessControlRequestMethod(HttpMethod requestedMethod)
Set the (new) value of the
Access-Control-Request-Method request
header. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HttpHeaders.setAccessControlAllowMethods(List<HttpMethod> allowedMethods)
Set the (new) value of the
Access-Control-Allow-Methods response
header. |
void |
HttpHeaders.setAllow(Set<HttpMethod> allowedMethods)
Set the set of allowed
HTTP methods, as specified by
the Allow header. |
| 构造器和说明 |
|---|
HttpRequest(HttpMethod method,
String url) |
HttpRequest(HttpMethod method,
URI uri) |
Copyright © 2019. All rights reserved.