| Package | Description |
|---|---|
| org.aoju.bus.core.io.segment | |
| org.aoju.bus.core.utils | |
| org.aoju.bus.http | |
| org.aoju.bus.http.bodys | |
| org.aoju.bus.http.magic | |
| org.aoju.bus.http.metric.http | |
| org.aoju.bus.http.socket |
| Modifier and Type | Class and Description |
|---|---|
class |
Buffer
内存中字节的集合.
|
class |
RealSource |
| Modifier and Type | Method and Description |
|---|---|
BufferSource |
RealSource.peek() |
BufferSource |
BufferSource.peek()
a new
BufferSource that can read data from this BufferSource
without consuming it. |
BufferSource |
Buffer.peek() |
| Modifier and Type | Method and Description |
|---|---|
static BufferSource |
IoUtils.buffer(Source source) |
| Modifier and Type | Method and Description |
|---|---|
static Charset |
Builder.bomAwareCharset(BufferSource source,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
abstract BufferSource |
ResponseBody.source() |
BufferSource |
RealResponseBody.source() |
| Modifier and Type | Method and Description |
|---|---|
static ResponseBody |
ResponseBody.create(MediaType contentType,
long contentLength,
BufferSource content)
新的响应体,它传输
content |
| Constructor and Description |
|---|
RealResponseBody(String contentTypeString,
long contentLength,
BufferSource source) |
| Modifier and Type | Method and Description |
|---|---|
BufferSource |
FileInterceptor.DownloadFileProgressResponseBody.source() |
| Modifier and Type | Field and Description |
|---|---|
BufferSource |
Http2Reader.source |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PushObserver.onData(int streamId,
BufferSource source,
int byteCount,
boolean last)
与推送请求对应的响应数据块。必须读取或跳过这些数据.
|
Http2Connection.Builder |
Http2Connection.Builder.socket(Socket socket,
String hostname,
BufferSource source,
BufferSink sink) |
| Constructor and Description |
|---|
Http1Codec(Httpd client,
StreamAllocation streamAllocation,
BufferSource source,
BufferSink sink) |
| Modifier and Type | Field and Description |
|---|---|
BufferSource |
RealWebSocket.Streams.source |
| Constructor and Description |
|---|
Streams(boolean client,
BufferSource source,
BufferSink sink) |
Copyright © 2019. All rights reserved.