| Modifier and Type | Class and Description |
|---|---|
class |
Buffer
内存中字节的集合.
|
class |
RealSource |
| Modifier and Type | Method and Description |
|---|---|
BufferSource |
RealSource.peek() |
BufferSource |
BufferSource.peek()
a new
BufferedSource that can read data from this BufferedSource
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 |
Internal.bomAwareCharset(BufferSource source,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
abstract BufferSource |
ResponseBody.source() |
| Modifier and Type | Method and Description |
|---|---|
static ResponseBody |
ResponseBody.create(MediaType contentType,
long contentLength,
BufferSource content) |
| Modifier and Type | Method and Description |
|---|---|
BufferSource |
RealResponseBody.source() |
| Constructor and Description |
|---|
RealResponseBody(String contentType,
long contentLength,
BufferSource source) |
| Constructor and Description |
|---|
Http1Codec(Client client,
StreamAllocation streamAllocation,
BufferSource source,
BufferSink sink) |
| 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) |
| 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.