Home
last modified time | relevance | path

Searched refs:FLAG_END_STREAM (Results 1 – 3 of 3) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2FrameLoggerTest.java25 import static com.squareup.okhttp.internal.framed.Http2.FLAG_END_STREAM;
47 formatHeader(false, 3, 0, TYPE_DATA, FLAG_END_STREAM)); in exampleStream()
57 formatHeader(true, 3, 226, TYPE_DATA, FLAG_END_STREAM)); in exampleStream()
DHttp2Test.java33 import static com.squareup.okhttp.internal.framed.Http2.FLAG_END_STREAM;
63 frame.writeByte(FLAG_END_HEADERS | FLAG_END_STREAM); in onlyOneLiteralHeadersFrame()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DHttp2.java68 static final byte FLAG_END_STREAM = 0x1; // Used for headers and data. field in Http2
187 boolean endStream = (flags & FLAG_END_STREAM) != 0; in readHeaders()
219 boolean inFinished = (flags & FLAG_END_STREAM) != 0; in readData()
449 if (outFinished) flags |= FLAG_END_STREAM; in headers()
486 if (outFinished) flags |= FLAG_END_STREAM; in data()
731 FLAGS[FLAG_END_STREAM] = "END_STREAM";
733 int[] prefixFlags = new int[] {FLAG_END_STREAM};