| Package | Description |
|---|---|
| org.aoju.bus.core.io.segment | |
| org.aoju.bus.http | |
| org.aoju.bus.http.internal.http.second |
| Modifier and Type | Class and Description |
|---|---|
class |
Awaits
此超时使用后台线程在超时发生时精确地执行操作 用它来
在本地不支持超时的地方实现超时,例如对阻塞的套接字操作.
|
class |
Forward
将调用转发给另一个调用的
Timeout. |
| Modifier and Type | Field and Description |
|---|---|
static Timeout |
Timeout.NONE
An empty timeout that neither tracks nor detects timeouts.
|
| Modifier and Type | Method and Description |
|---|---|
Timeout |
Timeout.clearDeadline() |
Timeout |
Forward.clearDeadline() |
Timeout |
Timeout.clearTimeout() |
Timeout |
Forward.clearTimeout() |
Timeout |
Timeout.deadline(long duration,
TimeUnit unit) |
Timeout |
Timeout.deadlineNanoTime(long deadlineNanoTime) |
Timeout |
Forward.deadlineNanoTime(long deadlineNanoTime) |
Timeout |
Forward.delegate() |
Timeout |
Source.timeout()
Returns the timeout for this source.
|
Timeout |
Sink.timeout() |
Timeout |
RealSource.timeout() |
Timeout |
RealSink.timeout() |
Timeout |
InflaterSource.timeout() |
Timeout |
GzipSource.timeout() |
Timeout |
GzipSink.timeout() |
Timeout |
ForwardSource.timeout() |
Timeout |
ForwardSink.timeout() |
Timeout |
DeflaterSink.timeout() |
Timeout |
Buffer.timeout() |
Timeout |
Timeout.timeout(long timeout,
TimeUnit unit) |
Timeout |
Forward.timeout(long timeout,
TimeUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
Forward |
Forward.setDelegate(Timeout delegate) |
| Constructor and Description |
|---|
Forward(Timeout delegate) |
| Modifier and Type | Method and Description |
|---|---|
Timeout |
RealCall.timeout() |
Timeout |
Call.timeout()
Returns a timeout that spans the entire call: resolving DNS, connecting, writing the request
body, server processing, and reading the response body.
|
| Modifier and Type | Method and Description |
|---|---|
Timeout |
Http2Stream.readTimeout() |
Timeout |
Http2Stream.writeTimeout() |
Copyright © 2019. All rights reserved.