Home
last modified time | relevance | path

Searched refs:pushObserver (Results 1 – 2 of 2) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java96 private final PushObserver pushObserver; field in FramedConnection
133 pushObserver = builder.pushObserver; in FramedConnection()
523 private PushObserver pushObserver = PushObserver.CANCEL; field in FramedConnection.Builder
550 public Builder pushObserver(PushObserver pushObserver) { in pushObserver() argument
551 this.pushObserver = pushObserver; in pushObserver()
813 boolean cancel = pushObserver.onRequest(streamId, requestHeaders); in pushRequestLater()
831 boolean cancel = pushObserver.onHeaders(streamId, requestHeaders, inFinished); in pushHeadersLater()
858 boolean cancel = pushObserver.onData(streamId, buffer, byteCount, inFinished); in pushDataLater()
874 pushObserver.onReset(streamId, errorCode); in pushResetLater()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2ConnectionTest.java375 .pushObserver(observer).build();
423 .pushObserver(PushObserver.CANCEL).build();
447 .pushObserver(IGNORE)
492 .pushObserver(IGNORE)