public class HttpUrl extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
HttpUrl.HostUrl |
static class |
HttpUrl.HttpUri |
| 限定符 | 构造器和说明 |
|---|---|
protected |
HttpUrl(HttpMethod method,
String url)
构造函数
|
protected HttpUrl(HttpMethod method, String url)
url - 远程请求的URLmethod - HTTP请求方法public String getUrl()
public HttpMethod getMethod()
Copyright © 2020. All rights reserved.