/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverHttp2Test.java | 36 PushPromise pushPromise = new PushPromise("GET", "/foo/bar", Headers.of("foo", "bar"), in serverSendsPushPromise_GET() local 41 .withPush(pushPromise); in serverSendsPushPromise_GET() 60 PushPromise pushPromise = new PushPromise("HEAD", "/foo/bar", Headers.of("foo", "bar"), in serverSendsPushPromise_HEAD() local 65 .withPush(pushPromise); in serverSendsPushPromise_HEAD()
|
D | Http2Test.java | 152 @Test public void pushPromise() throws IOException { in pushPromise() method in Http2Test 155 final List<Header> pushPromise = Arrays.asList( in pushPromise() local 163 Buffer headerBytes = literalHeaders(pushPromise); in pushPromise() 171 assertEquals(frame, sendPushPromiseFrames(expectedPromisedStreamId, pushPromise)); in pushPromise() 175 public void pushPromise(int streamId, int promisedStreamId, List<Header> headerBlock) { in pushPromise() 178 assertEquals(pushPromise, headerBlock); in pushPromise() 186 final List<Header> pushPromise = largeHeaders(); in pushPromiseThenContinuation() local 189 Buffer headerBlock = literalHeaders(pushPromise); in pushPromiseThenContinuation() 206 assertEquals(frame, sendPushPromiseFrames(expectedPromisedStreamId, pushPromise)); in pushPromiseThenContinuation() 211 public void pushPromise(int streamId, int promisedStreamId, List<Header> headerBlock) { in pushPromiseThenContinuation() [all …]
|
D | BaseTestHandler.java | 67 public void pushPromise(int streamId, int associatedStreamId, List<Header> headerBlock) { in pushPromise() method in BaseTestHandler
|
D | Http2ConnectionTest.java | 375 peer.sendFrame().pushPromise(3, 2, expectedRequestHeaders); 404 peer.sendFrame().pushPromise(3, 2, headerEntries("a", "android")); 406 peer.sendFrame().pushPromise(3, 2, headerEntries("b", "banana")); 425 peer.sendFrame().pushPromise(3, 2, Arrays.asList(
|
D | MockSpdyPeer.java | 318 public void pushPromise(int streamId, int associatedStreamId, List<Header> headerBlock) { in pushPromise() method in MockSpdyPeer.InFrame
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServer.java | 958 for (PushPromise pushPromise : promises) { 962 : Header.TARGET_AUTHORITY, url(pushPromise.getPath()).host())); 963 pushedHeaders.add(new Header(Header.TARGET_METHOD, pushPromise.getMethod())); 964 pushedHeaders.add(new Header(Header.TARGET_PATH, pushPromise.getPath())); 965 Headers pushPromiseHeaders = pushPromise.getHeaders(); 969 String requestLine = pushPromise.getMethod() + ' ' + pushPromise.getPath() + " HTTP/1.1"; 971 requestQueue.add(new RecordedRequest(requestLine, pushPromise.getHeaders(), chunkSizes, 0, 973 boolean hasBody = pushPromise.getResponse().getBody() != null; 976 writeResponse(pushedStream, pushPromise.getResponse());
|
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
D | AsyncFrameWriter.java | 91 public void pushPromise(final int streamId, final int promisedStreamId, in pushPromise() method in AsyncFrameWriter 96 frameWriter.pushPromise(streamId, promisedStreamId, requestHeaders); in pushPromise()
|
D | OkHttpClientTransport.java | 1157 public void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) in pushPromise() method in OkHttpClientTransport.ClientFrameHandler
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
D | FrameWriter.java | 46 void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) in pushPromise() method
|
D | FrameReader.java | 112 void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) in pushPromise() method
|
D | Http2.java | 319 handler.pushPromise(streamId, promisedStreamId, headerBlock); in readPushPromise() 425 @Override public synchronized void pushPromise(int streamId, int promisedStreamId, in pushPromise() method in Http2.Writer
|
D | FramedConnection.java | 278 frameWriter.pushPromise(associatedStreamId, streamId, requestHeaders); in newStream() 817 public void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) { in pushPromise() method in FramedConnection.Reader
|
D | Spdy3.java | 309 public void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) in pushPromise() method in Spdy3.Writer
|
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/ |
D | FrameWriter.java | 50 void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) in pushPromise() method
|
D | FrameReader.java | 116 …void pushPromise(int streamId, int promisedStreamId, List<io.grpc.okhttp.internal.framed.Header> r… in pushPromise() method
|
D | Http2.java | 325 handler.pushPromise(streamId, promisedStreamId, headerBlock); in readPushPromise() 431 @Override public synchronized void pushPromise(int streamId, int promisedStreamId, in pushPromise() method in Http2.Writer
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/ |
D | FrameReader.java | 114 void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) in pushPromise() method
|
D | FrameWriter.java | 48 void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) in pushPromise() method
|
D | Http2.java | 321 handler.pushPromise(streamId, promisedStreamId, headerBlock); in readPushPromise() 427 @Override public synchronized void pushPromise(int streamId, int promisedStreamId, in pushPromise() method in Http2.Writer
|
D | FramedConnection.java | 280 frameWriter.pushPromise(associatedStreamId, streamId, requestHeaders); in newStream() 822 public void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) { in pushPromise() method in FramedConnection.Reader
|
D | Spdy3.java | 311 public void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) in pushPromise() method in Spdy3.Writer
|