| 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 |
AsyncTimeout
此超时使用后台线程在超时发生时精确地执行操作。用它来
在本地不支持超时的地方实现超时,例如对阻塞的套接字操作.
|
class |
ForwardingTimeout
将调用转发给另一个调用的
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 |
ForwardingTimeout.clearDeadline() |
Timeout |
Timeout.clearDeadline() |
Timeout |
ForwardingTimeout.clearTimeout() |
Timeout |
Timeout.clearTimeout() |
Timeout |
Timeout.deadline(long duration,
TimeUnit unit) |
Timeout |
ForwardingTimeout.deadlineNanoTime(long deadlineNanoTime) |
Timeout |
Timeout.deadlineNanoTime(long deadlineNanoTime) |
Timeout |
ForwardingTimeout.delegate() |
Timeout |
RealBufferedSource.timeout() |
Timeout |
Buffer.timeout() |
Timeout |
Source.timeout()
Returns the timeout for this source.
|
Timeout |
ForwardingSink.timeout() |
Timeout |
RealBufferedSink.timeout() |
Timeout |
ForwardingSource.timeout() |
Timeout |
GzipSource.timeout() |
Timeout |
Sink.timeout() |
Timeout |
GzipSink.timeout() |
Timeout |
InflaterSource.timeout() |
Timeout |
DeflaterSink.timeout() |
Timeout |
ForwardingTimeout.timeout(long timeout,
TimeUnit unit) |
Timeout |
Timeout.timeout(long timeout,
TimeUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
ForwardingTimeout |
ForwardingTimeout.setDelegate(Timeout delegate) |
| Constructor and Description |
|---|
ForwardingTimeout(Timeout delegate) |
| Modifier and Type | Method and Description |
|---|---|
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.