Searched refs:FLAG_END_HEADERS (Results 1 – 3 of 3) sorted by relevance
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/ |
D | Http2FrameLoggerTest.java | 24 import static com.squareup.okhttp.internal.spdy.Http2.FLAG_END_HEADERS; 45 formatHeader(false, 3, 100, TYPE_HEADERS, FLAG_END_HEADERS)); in exampleStream() 55 formatHeader(true, 3, 22, TYPE_HEADERS, FLAG_END_HEADERS)); in exampleStream()
|
D | Http2Test.java | 32 import static com.squareup.okhttp.internal.spdy.Http2.FLAG_END_HEADERS; 63 frame.writeByte(FLAG_END_HEADERS | FLAG_END_STREAM); in onlyOneLiteralHeadersFrame() 89 frame.writeByte(FLAG_END_HEADERS | FLAG_PRIORITY); in headersWithPriority() 132 frame.writeByte(FLAG_END_HEADERS); in headersFrameThenContinuation() 202 frame.writeByte(FLAG_END_HEADERS); in pushPromiseThenContinuation() 467 frame.writeByte(FLAG_END_HEADERS | FLAG_PADDED); in readPaddedHeadersFrame() 481 frame.writeByte(FLAG_END_HEADERS | FLAG_PADDED); in readPaddedHeadersFrameZeroPadding() 510 frame.writeByte(FLAG_END_HEADERS); in readPaddedHeadersFrameThenContinuation()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
D | Http2.java | 69 static final byte FLAG_END_HEADERS = 0x4; // Used for headers and continuation. field in Http2 434 byte flags = byteCount == length ? FLAG_END_HEADERS : 0; in pushPromise() 450 byte flags = byteCount == length ? FLAG_END_HEADERS : 0; in headers() 462 frameHeader(streamId, length, TYPE_CONTINUATION, byteCount == 0 ? FLAG_END_HEADERS : 0); in writeContinuationFrames() 612 if ((flags & FLAG_END_HEADERS) != 0) return -1; in read() 742 FLAGS[FLAG_END_HEADERS] = "END_HEADERS"; // Same as END_PUSH_PROMISE. 744 FLAGS[FLAG_END_HEADERS | FLAG_PRIORITY] = "END_HEADERS|PRIORITY"; // Only valid on HEADERS. 746 new int[] {FLAG_END_HEADERS, FLAG_PRIORITY, FLAG_END_HEADERS | FLAG_PRIORITY};
|