| Modifier and Type | Class and Description |
|---|---|
class |
Buffer
内存中字节的集合.
|
class |
RealBufferedSource |
| Modifier and Type | Method and Description |
|---|---|
BufferedSource |
RealBufferedSource.peek() |
BufferedSource |
BufferedSource.peek()
a new
BufferedSource that can read data from this BufferedSource
without consuming it. |
BufferedSource |
Buffer.peek() |
| Modifier and Type | Method and Description |
|---|---|
static BufferedSource |
IoUtils.buffer(Source source) |
| Modifier and Type | Method and Description |
|---|---|
static Charset |
Internal.bomAwareCharset(BufferedSource source,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
abstract BufferedSource |
ResponseBody.source() |
| Modifier and Type | Method and Description |
|---|---|
static ResponseBody |
ResponseBody.create(MediaType contentType,
long contentLength,
BufferedSource content) |
| Modifier and Type | Method and Description |
|---|---|
BufferedSource |
RealResponseBody.source() |
| Constructor and Description |
|---|
RealResponseBody(String contentType,
long contentLength,
BufferedSource source) |
| Constructor and Description |
|---|
Http1Codec(Client client,
StreamAllocation streamAllocation,
BufferedSource source,
BufferedSink sink) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PushObserver.onData(int streamId,
BufferedSource source,
int byteCount,
boolean last) |
Http2Connection.Builder |
Http2Connection.Builder.socket(Socket socket,
String hostname,
BufferedSource source,
BufferedSink sink) |
| Modifier and Type | Field and Description |
|---|---|
BufferedSource |
RealWebSocket.Streams.source |
| Constructor and Description |
|---|
Streams(boolean client,
BufferedSource source,
BufferedSink sink) |
Copyright © 2019. All rights reserved.