Home
last modified time | relevance | path

Searched refs:FramedConnection (Results 1 – 8 of 8) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2ConnectionTest.java87 FramedConnection connection = connection(peer, HTTP_2); in clientPingsServerHttp2()
115 FramedConnection connection = connection(peer, HTTP_2);
144 FramedConnection connection = sendHttp2SettingsAndCheckForAck(client, settings);
158 FramedConnection connection = sendHttp2SettingsAndCheckForAck(client, settings);
169 FramedConnection connection = sendHttp2SettingsAndCheckForAck(true, settings);
189 FramedConnection connection = connection(peer, HTTP_2);
249 FramedConnection connection = connection(peer, HTTP_2);
289 FramedConnection connection = connection(peer, HTTP_2);
309 FramedConnection connection = connection(peer, HTTP_2);
336 FramedConnection connection = connection(peer, HTTP_2);
[all …]
DSpdy3ConnectionTest.java77 FramedConnection connection = connection(peer, SPDY3); in clientCreatesStreamAndServerReplies()
106 FramedConnection connection = connection(peer, SPDY3); in headersOnlyStreamIsClosedAfterReplyHeaders()
123 FramedConnection connection = connection(peer, SPDY3); in clientCreatesStreamAndServerRepliesWithFin()
161 new FramedConnection.Builder(true, peer.openSocket()).handler(handler).build(); in serverCreatesStreamAndClientReplies()
223 FramedConnection connection = connection(peer, SPDY3); in clientPingsServer()
265 FramedConnection connection = connection(peer, SPDY3);
290 FramedConnection connection = connection(peer, SPDY3);
317 FramedConnection connection = connection(peer, SPDY3);
385 FramedConnection connection = connection(peer, SPDY3);
428 FramedConnection connection = connection(peer, SPDY3);
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java54 public final class FramedConnection implements Closeable { class
131 private FramedConnection(Builder builder) throws IOException { in FramedConnection() method in FramedConnection
311 synchronized (FramedConnection.this) { in writeData()
319 FramedConnection.this.wait(); // Wait until we receive a WINDOW_UPDATE. in writeData()
341 if (delta > 0) FramedConnection.this.notifyAll(); in addBytesToWriteWindow()
555 public FramedConnection build() throws IOException { in build()
556 return new FramedConnection(this); in build()
620 synchronized (FramedConnection.this) { in headers()
641 newStream = new FramedStream(streamId, FramedConnection.this, outFinished, in headers()
688 synchronized (FramedConnection.this) { in settings()
[all …]
DFramedStream.java56 private final FramedConnection connection;
76 FramedStream(int id, FramedConnection connection, boolean outFinished, boolean inFinished, in FramedStream()
124 public FramedConnection getConnection() { in getConnection()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DFramedTransport.java26 import com.squareup.okhttp.internal.framed.FramedConnection;
70 private final FramedConnection framedConnection;
73 public FramedTransport(HttpEngine httpEngine, FramedConnection framedConnection) { in FramedTransport()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/framed/
DFramedServer.java68 FramedConnection framedConnection = new FramedConnection.Builder(false, sslSocket) in run()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DConnection.java22 import com.squareup.okhttp.internal.framed.FramedConnection;
82 private FramedConnection framedConnection;
204 framedConnection = new FramedConnection.Builder(route.address.uriHost, true, socket) in connectSocket()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java29 import com.squareup.okhttp.internal.framed.FramedConnection;
115 private final Set<FramedConnection> openFramedConnections =
116 Collections.newSetFromMap(new ConcurrentHashMap<FramedConnection, Boolean>());
369 for (Iterator<FramedConnection> s = openFramedConnections.iterator(); s.hasNext(); ) {
467 FramedConnection framedConnection =
468 new FramedConnection.Builder(false, socket).protocol(protocol)