| Package | Description |
|---|---|
| okhttp3.internal.framed | |
| okhttp3.internal.http |
| Modifier and Type | Method and Description |
|---|---|
List |
FramedStream.getRequestHeaders()
|
List |
FramedStream.getResponseHeaders()
Returns the stream's response headers, blocking if necessary if they have not been received yet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FrameReader.Handler.headers(boolean outFinished, boolean inFinished, int streamId, int associatedStreamId, List
Create or update incoming headers, creating the corresponding streams if necessary.
|
void |
FrameWriter.headers(int streamId, List
|
FramedStream |
FramedConnection.newStream(List
Returns a new locally-initiated stream.
|
boolean |
PushObserver.onHeaders(int streamId, List
The response headers corresponding to a pushed request.
|
boolean |
PushObserver.onRequest(int streamId, List
Describes the request that the server intends to push a response for.
|
void |
FrameWriter.pushPromise(int streamId, int promisedStreamId, List
HTTP/2 only.
|
void |
FrameReader.Handler.pushPromise(int streamId, int promisedStreamId, List
HTTP/2 only.
|
FramedStream |
FramedConnection.pushStream(int associatedStreamId, List
Returns a new server-initiated stream.
|
void |
FramedStream.reply(List
Sends a reply to an incoming stream.
|
void |
FrameWriter.synReply(boolean outFinished, int streamId, List
|
void |
FrameWriter.synStream(boolean outFinished, boolean inFinished, int streamId, int associatedStreamId, List
|
| Modifier and Type | Method and Description |
|---|---|
static List |
Http2xStream.http2HeadersList(Request
|
static List |
Http2xStream.spdy3HeadersList(Request
Returns a list of alternating names and values containing a SPDY request.
|
| Modifier and Type | Method and Description |
|---|---|
static Response |
Http2xStream.readHttp2HeadersList(List
Returns headers for a name value block containing an HTTP/2 response.
|
static Response |
Http2xStream.readSpdy3HeadersList(List
Returns headers for a name value block containing a SPDY response.
|