OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:headerBlock
(Results
1 - 14
of
14
) sorted by null
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
HeadersTest.java
33
List<Header>
headerBlock
= headerEntries(
40
SpdyTransport.readNameValueBlock(
headerBlock
, Protocol.SPDY_3).request(request).build();
60
List<Header>
headerBlock
= headerEntries(
66
SpdyTransport.readNameValueBlock(
headerBlock
, Protocol.SPDY_3).request(request).build();
74
List<Header>
headerBlock
= headerEntries(
79
Response response = SpdyTransport.readNameValueBlock(
headerBlock
, Protocol.HTTP_2)
95
List<Header>
headerBlock
=
106
assertEquals(expected,
headerBlock
);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
FrameWriter.java
51
int priority, int slot, List<Header>
headerBlock
) throws IOException;
52
void synReply(boolean outFinished, int streamId, List<Header>
headerBlock
)
54
void headers(int streamId, List<Header>
headerBlock
) throws IOException;
Spdy3.java
204
List<Header>
headerBlock
= headerBlockReader.readNameValueBlock(length - 10);
209
headerBlock
, HeadersMode.SPDY_SYN_STREAM);
215
List<Header>
headerBlock
= headerBlockReader.readNameValueBlock(length - 4);
217
handler.headers(false, inFinished, streamId, -1, -1,
headerBlock
, HeadersMode.SPDY_REPLY);
234
List<Header>
headerBlock
= headerBlockReader.readNameValueBlock(length - 4);
235
handler.headers(false, false, streamId, -1, -1,
headerBlock
, HeadersMode.SPDY_HEADERS);
330
int streamId, int associatedStreamId, int priority, int slot, List<Header>
headerBlock
)
333
writeNameValueBlockToBuffer(
headerBlock
);
349
List<Header>
headerBlock
) throws IOException {
351
writeNameValueBlockToBuffer(
headerBlock
);
[
all
...]
FrameReader.java
49
int priority, List<Header>
headerBlock
, HeadersMode headersMode);
Http20Draft09.java
167
List<Header>
headerBlock
= readHeaderBlock(length, flags, streamId);
169
handler.headers(false, endStream, streamId, -1, priority,
headerBlock
,
246
List<Header>
headerBlock
= readHeaderBlock(length, flags, streamId);
247
handler.pushPromise(streamId, promisedStreamId,
headerBlock
);
328
int streamId, int associatedStreamId, int priority, int slot, List<Header>
headerBlock
)
332
headers(outFinished, streamId, priority,
headerBlock
);
336
List<Header>
headerBlock
) throws IOException {
338
headers(outFinished, streamId, -1,
headerBlock
);
341
@Override public synchronized void headers(int streamId, List<Header>
headerBlock
)
344
headers(false, streamId, -1,
headerBlock
);
[
all
...]
HpackDraft05.java
405
void writeHeaders(List<Header>
headerBlock
) throws IOException {
407
for (int i = 0, size =
headerBlock
.size(); i < size; i++) {
408
ByteString name =
headerBlock
.get(i).name;
413
writeByteString(
headerBlock
.get(i).value);
417
writeByteString(
headerBlock
.get(i).value);
SpdyConnection.java
587
int associatedStreamId, int priority, List<Header>
headerBlock
, HeadersMode headersMode) {
589
pushHeadersLater(streamId,
headerBlock
, inFinished);
614
inFinished, priority,
headerBlock
);
638
stream.receiveHeaders(
headerBlock
, headersMode);
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
BaseTestHandler.java
33
int priority, List<Header>
headerBlock
, HeadersMode headersMode) {
66
public void pushPromise(int streamId, int associatedStreamId, List<Header>
headerBlock
) {
Http20Draft09Test.java
73
int associatedStreamId, int priority, List<Header>
headerBlock
,
80
assertEquals(sentHeaders,
headerBlock
);
127
OkBuffer
headerBlock
= literalHeaders(headerEntries("foo", "barrr", "baz", "qux"));
129
frame.writeShort((int) (
headerBlock
.size() / 2));
133
frame.write(
headerBlock
,
headerBlock
.size() / 2);
137
frame.writeShort((int)
headerBlock
.size());
141
frame.write(
headerBlock
,
headerBlock
.size());
146
// Reading the above frames should result in a concatenated
headerBlock
[
all
...]
MockSpdyPeer.java
198
public List<Header>
headerBlock
;
225
int associatedStreamId, int priority, List<Header>
headerBlock
,
234
this.
headerBlock
=
headerBlock
;
282
public void pushPromise(int streamId, int associatedStreamId, List<Header>
headerBlock
) {
286
this.
headerBlock
=
headerBlock
;
HpackDraft05Test.java
52
List<Header>
headerBlock
= headerEntries("cookie", new String(value));
54
hpackWriter.writeHeaders(
headerBlock
);
61
assertEquals(
headerBlock
, hpackReader.getAndReset());
218
List<Header>
headerBlock
= headerEntries("custom-key", "custom-header");
229
hpackWriter.writeHeaders(
headerBlock
);
238
assertEquals(
headerBlock
, hpackReader.getAndReset());
245
List<Header>
headerBlock
= headerEntries(":path", "/sample/path");
253
hpackWriter.writeHeaders(
headerBlock
);
262
assertEquals(
headerBlock
, hpackReader.getAndReset());
SpdyConnectionTest.java
92
assertEquals(headerEntries("b", "banana"), synStream.
headerBlock
);
165
assertEquals(headerEntries("b", "banana"), reply.
headerBlock
);
190
assertEquals(headerEntries("b", "banana"), reply.
headerBlock
);
[
all
...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
SpdyTransport.java
177
public static Response.Builder readNameValueBlock(List<Header>
headerBlock
,
184
for (int i = 0; i <
headerBlock
.size(); i++) {
185
ByteString name =
headerBlock
.get(i).name;
186
String values =
headerBlock
.get(i).value.utf8();
/cts/suite/cts/deviceTests/browserbench/assets/octane/
pdfjs.js
[
all
...]
Completed in 787 milliseconds