| Package | Description |
|---|---|
| com.squareup.okhttp.internal | |
| com.squareup.okhttp.internal.http |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Internal.connectAndSetOwner(OkHttpClient client,
Connection connection,
HttpEngine owner,
Request request) |
abstract Transport |
Internal.newTransport(Connection connection,
HttpEngine httpEngine) |
abstract void |
Internal.setOwner(Connection connection,
HttpEngine httpEngine) |
| Modifier and Type | Method and Description |
|---|---|
HttpEngine |
HttpEngine.recover(IOException e) |
HttpEngine |
HttpEngine.recover(IOException e,
okio.Sink requestBodyOut)
Report and attempt to recover from
e. |
| Modifier and Type | Method and Description |
|---|---|
void |
SpdyTransport.disconnect(HttpEngine engine) |
void |
HttpTransport.disconnect(HttpEngine engine) |
void |
Transport.disconnect(HttpEngine engine) |
okio.Source |
HttpConnection.newChunkedSource(HttpEngine httpEngine) |
Connection |
RouteSelector.next(HttpEngine owner)
Selects a route to attempt and connects it if it isn't already.
|
| Constructor and Description |
|---|
HttpTransport(HttpEngine httpEngine,
HttpConnection httpConnection) |
SpdyTransport(HttpEngine httpEngine,
SpdyConnection spdyConnection) |
Copyright © 2015. All rights reserved.