Home
last modified time | relevance | path

Searched refs:framedConnection (Results 1 – 5 of 5) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DRealConnection.java80 public volatile FramedConnection framedConnection; field in RealConnection
158 FramedConnection framedConnection = new FramedConnection.Builder(true) in connectSocket() local
162 framedConnection.sendConnectionPreface(); in connectSocket()
165 this.framedConnection = framedConnection; in connectSocket()
340 FramedConnection framedConnection = this.framedConnection; in allocationLimit() local
341 return framedConnection != null in allocationLimit()
342 ? framedConnection.maxConcurrentStreams() in allocationLimit()
352 if (framedConnection != null) { in isHealthy()
387 return framedConnection != null; in isMultiplexed()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttp2xStream.java109 private final FramedConnection framedConnection; field in Http2xStream
113 public Http2xStream(StreamAllocation streamAllocation, FramedConnection framedConnection) { in Http2xStream() argument
115 this.framedConnection = framedConnection; in Http2xStream()
131 List<Header> requestHeaders = framedConnection.getProtocol() == Protocol.HTTP_2 in writeRequestHeaders()
135 stream = framedConnection.newStream(requestHeaders, permitsRequestBody, hasResponseBody); in writeRequestHeaders()
149 return framedConnection.getProtocol() == Protocol.HTTP_2 in readResponseHeaders()
DStreamAllocation.java99 if (resultConnection.framedConnection != null) { in newStream()
100 resultStream = new Http2xStream(this, resultConnection.framedConnection); in newStream()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/framed/
DFramedServer.java68 FramedConnection framedConnection = new FramedConnection.Builder(false) in run() local
73 framedConnection.sendConnectionPreface(); in run()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java470 FramedConnection framedConnection = new FramedConnection.Builder(false)
475 openFramedConnections.add(framedConnection);