| Package | Description |
|---|---|
| org.aoju.bus.http | |
| org.aoju.bus.http.accord | |
| org.aoju.bus.http.cache | |
| org.aoju.bus.http.metric | |
| org.aoju.bus.http.metric.http |
| Modifier and Type | Method and Description |
|---|---|
UnoUrl |
UnoUrl.Builder.build() |
static UnoUrl |
UnoUrl.get(String url) |
static UnoUrl |
UnoUrl.get(URI uri) |
static UnoUrl |
UnoUrl.get(URL url) |
static UnoUrl |
UnoUrl.parse(String url) |
UnoUrl |
UnoUrl.resolve(String link) |
UnoUrl |
Request.url() |
UnoUrl |
Address.url() |
| Modifier and Type | Method and Description |
|---|---|
static String |
Builder.hostHeader(UnoUrl url,
boolean includeDefaultPort) |
boolean |
Cookie.matches(UnoUrl url) |
static Cookie |
Cookie.parse(UnoUrl url,
String setCookie) |
static List<Cookie> |
Cookie.parseAll(UnoUrl url,
Headers headers) |
Request.Builder |
Request.Builder.url(UnoUrl url) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RealConnection.supportsUrl(UnoUrl url) |
| Modifier and Type | Method and Description |
|---|---|
static String |
Cache.key(UnoUrl url) |
| Modifier and Type | Method and Description |
|---|---|
List<Cookie> |
CookieJar.loadForRequest(UnoUrl url)
将HTTP请求的cookie从jar加载到
url。
此方法为网络请求返回一个可能为空的cookie列表
简单的实现将返回尚未过期的已接受的Cookie,
并返回Cookie.matches(org.aoju.bus.http.UnoUrl) url |
void |
CookieJar.saveFromResponse(UnoUrl url,
List<Cookie> cookies)
据这个jar's的策略将HTTP响应中的
cookies保存到这个存储中
请注意,对于单个HTTP响应,如果响应包含一个拖车,则可以第二次调用此方法。
对于这个模糊的HTTP特性,cookie只包含预告片的cookie |
| Modifier and Type | Method and Description |
|---|---|
Source |
Http1Codec.newChunkedSource(UnoUrl url) |
static void |
HttpHeaders.receiveHeaders(CookieJar cookieJar,
UnoUrl url,
Headers headers) |
static String |
RequestLine.requestPath(UnoUrl url) |
Copyright © 2019. All rights reserved.