Home
last modified time | relevance | path

Searched defs:headers (Results 1 – 25 of 417) sorted by relevance

12345678910>>...17

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHeadersTest.java45 Headers headers = response.headers(); in parseNameValueBlock() local
69 Headers headers = response.headers(); in readNameValueBlockDropsForbiddenHeadersSpdy3() local
80 Headers headers = response.headers(); in readNameValueBlockDropsForbiddenHeadersHttp2() local
137 Headers headers = Headers.of("\t User-Agent \n", " \r OkHttp "); in ofTrims() local
143 Headers headers = new Headers.Builder() in addParsing() local
211 Headers headers = Headers.of("User-Agent", ""); in ofAcceptsEmptyValue() local
220 Headers headers = Headers.of(namesAndValues); in ofMakesDefensiveCopy() local
258 Headers headers = Headers.of(Collections.singletonMap("User-Agent", "")); in ofMapAcceptsEmptyValue() local
263 Headers headers = Headers.of(Collections.singletonMap(" User-Agent ", "OkHttp")); in ofMapTrimsKey() local
268 Headers headers = Headers.of(Collections.singletonMap("User-Agent", " OkHttp ")); in ofMapTrimsValue() local
[all …]
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DCreateStreamCommand.java27 private final Http2Headers headers; field in CreateStreamCommand
31 CreateStreamCommand(Http2Headers headers, in CreateStreamCommand()
36 CreateStreamCommand(Http2Headers headers, in CreateStreamCommand()
47 Http2Headers headers() { in headers() method in CreateStreamCommand
DSendResponseHeadersCommand.java29 private final Http2Headers headers; field in SendResponseHeadersCommand
32 private SendResponseHeadersCommand(StreamIdHolder stream, Http2Headers headers, Status status) { in SendResponseHeadersCommand()
38 static SendResponseHeadersCommand createHeaders(StreamIdHolder stream, Http2Headers headers) { in createHeaders()
43 StreamIdHolder stream, Http2Headers headers, Status status) { in createTrailers()
52 Http2Headers headers() { in headers() method in SendResponseHeadersCommand
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DHttp2ClientStreamTransportStateTest.java77 Metadata headers = new Metadata(); in transportHeadersReceived_notifiesListener() local
91 Metadata headers = new Metadata(); in transportHeadersReceived_doesntRequire200() local
105 Metadata headers = new Metadata(); in transportHeadersReceived_noHttpStatus() local
120 Metadata headers = new Metadata(); in transportHeadersReceived_wrongContentType_200() local
136 Metadata headers = new Metadata(); in transportHeadersReceived_wrongContentType_401() local
161 Metadata headers = new Metadata(); in transportHeadersReceived_handles_1xx() local
175 Metadata headers = new Metadata(); in transportHeadersReceived_twice() local
194 Metadata headers = new Metadata(); in transportHeadersReceived_unknownAndTwiceLogsSecondHeaders() local
225 Metadata headers = new Metadata(); in transportDataReceived_debugData() local
255 Metadata headers = new Metadata(); in transportTrailersReceived_afterHeaders() local
[all …]
DTransportFrameUtilTest.java65 Metadata headers = new Metadata(); in testToHttp2Headers() local
90 Metadata headers = new Metadata(); in testToAndFromHttp2Headers() local
102 private static void assertContains(byte[][] headers, byte[] key, byte[] value) { in assertContains()
DAbstractClientStreamTest.java186 Metadata headers = new Metadata(); in inboundHeadersReceived_notifiesListener() local
210 Metadata headers = new Metadata(); in inboundHeadersReceived_acceptsGzipContentEncoding() local
225 Metadata headers = new Metadata(); in inboundHeadersReceived_contentEncodingIsCaseInsensitive() local
239 Metadata headers = new Metadata(); in inboundHeadersReceived_failsOnUnrecognizedContentEncoding() local
260 Metadata headers = new Metadata(); in inboundHeadersReceived_disallowsContentAndMessageEncoding() local
282 Metadata headers = new Metadata(); in inboundHeadersReceived_acceptsGzipMessageEncoding() local
294 Metadata headers = new Metadata(); in inboundHeadersReceived_acceptsIdentityMessageEncoding() local
306 Metadata headers = new Metadata(); in inboundHeadersReceived_failsOnUnrecognizedMessageEncoding() local
439 Metadata headers = headersCaptor.getValue(); in deadlineTimeoutPopulatedToHeaders() local
514 public void writeHeaders(Metadata headers, byte[] payload) {} in writeHeaders()
DCensusModulesTest.java277 Metadata headers = new Metadata(); in testClientInterceptors() local
360 Metadata headers = new Metadata(); in subtestClientBasicStatsDefaultContext() local
430 Metadata headers = new Metadata(); in clientBasicTracingDefaultSpan() local
575 Metadata headers = new Metadata(); in subtestStatsHeadersPropagateTags() local
666 Metadata headers = new Metadata(); in statsHeadersNotPropagateDefaultContext() local
685 Metadata headers = new Metadata(); in statsHeaderMalformed() local
695 Metadata headers = new Metadata(); in traceHeadersPropagateSpanContext() local
722 Metadata headers = new Metadata(); in traceHeaders_propagateSpanContext() local
734 Metadata headers = new Metadata(); in traceHeaders_missingCensusImpl_notPropagateSpanContext() local
747 Metadata headers = new Metadata(); in traceHeaders_clientMissingCensusImpl_preservingHeaders() local
[all …]
/external/volley/src/main/java/com/android/volley/
DNetworkResponse.java45 Map<String, String> headers, in NetworkResponse() argument
82 int statusCode, byte[] data, Map<String, String> headers, boolean notModified) { in NetworkResponse() argument
110 public NetworkResponse(byte[] data, Map<String, String> headers) { in NetworkResponse() argument
122 Map<String, String> headers, in NetworkResponse() argument
153 public final Map<String, String> headers; field in NetworkResponse
171 Map<String, String> headers = new TreeMap<>(String.CASE_INSENSITIVE_ORDER); in toHeaderMap() local
179 private static List<Header> toAllHeaderList(Map<String, String> headers) { in toAllHeaderList() argument
/external/libbrillo/brillo/http/
Dhttp_utils.cc25 const HeaderList& headers, in GetAndBlock()
33 const HeaderList& headers, in Get()
67 const HeaderList& headers, in PostTextAndBlock()
77 const HeaderList& headers, in PostText()
97 const HeaderList& headers, in SendRequestAndBlock()
115 const HeaderList& headers, in SendRequestWithNoDataAndBlock()
126 const HeaderList& headers, in SendRequest()
152 const HeaderList& headers, in SendRequest()
168 const HeaderList& headers, in SendRequestWithNoData()
187 const HeaderList& headers, in PostBinaryAndBlock()
[all …]
/external/python/cpython3/Lib/distutils/command/
Dconfig.py107 def _gen_temp_sourcefile(self, body, headers, lang): argument
120 def _preprocess(self, body, headers, include_dirs, lang): argument
127 def _compile(self, body, headers, include_dirs, lang): argument
136 def _link(self, body, headers, include_dirs, libraries, library_dirs, argument
173 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
191 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, argument
220 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
236 def try_link(self, body, headers=None, include_dirs=None, libraries=None, argument
255 def try_run(self, body, headers=None, include_dirs=None, libraries=None, argument
280 def check_func(self, func, headers=None, include_dirs=None, argument
[all …]
/external/python/cpython2/Lib/distutils/command/
Dconfig.py112 def _gen_temp_sourcefile(self, body, headers, lang): argument
125 def _preprocess(self, body, headers, include_dirs, lang): argument
132 def _compile(self, body, headers, include_dirs, lang): argument
141 def _link(self, body, headers, include_dirs, libraries, library_dirs, argument
178 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
196 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, argument
225 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
241 def try_link(self, body, headers=None, include_dirs=None, libraries=None, argument
260 def try_run(self, body, headers=None, include_dirs=None, libraries=None, argument
285 def check_func(self, func, headers=None, include_dirs=None, argument
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheControlTest.java128 Headers headers = in parseCacheControlAndPragmaAreCombined() local
137 Headers headers = Headers.of("Cache-Control", value); in parseCacheControlHeaderValueIsRetained() local
143 Headers headers = Headers.of("Cache-Control", "max-age=12", "Pragma", "must-revalidate"); in parseCacheControlHeaderValueInvalidatedByPragma() local
149 Headers headers = Headers.of("Cache-Control", "max-age=12", "Cache-Control", "must-revalidate"); in parseCacheControlHeaderValueInvalidatedByTwoValues() local
155 Headers headers = Headers.of("Pragma", "must-revalidate"); in parsePragmaHeaderValueIsNotRetained() local
/external/volley/src/main/java/com/android/volley/toolbox/
DHttpHeaderParser.java51 Map<String, String> headers = response.headers; in parseCacheHeaders() local
162 public static String parseCharset(Map<String, String> headers, String defaultCharset) { in parseCharset() argument
183 public static String parseCharset(Map<String, String> headers) { in parseCharset() argument
193 Map<String, String> headers = new TreeMap<>(String.CASE_INSENSITIVE_ORDER); in toHeaderMap() local
201 static List<Header> toAllHeaderList(Map<String, String> headers) { in toAllHeaderList() argument
/external/python/oauth2client/oauth2client/
Dtransport.py70 def _initialize_headers(headers): argument
83 def _apply_user_agent(headers, user_agent): argument
104 def clean_headers(headers): argument
147 def new_request(uri, method='GET', body=None, headers=None, argument
217 def new_request(uri, method='GET', body=None, headers=None, argument
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DTestGrpc.cs244 …Grpc.Testing.Empty EmptyCall(global::Grpc.Testing.Empty request, grpc::Metadata headers = null, gl… in EmptyCall()
266 …esting.Empty> EmptyCallAsync(global::Grpc.Testing.Empty request, grpc::Metadata headers = null, gl… in EmptyCallAsync()
288 …leResponse UnaryCall(global::Grpc.Testing.SimpleRequest request, grpc::Metadata headers = null, gl… in UnaryCall()
310 …onse> UnaryCallAsync(global::Grpc.Testing.SimpleRequest request, grpc::Metadata headers = null, gl… in UnaryCallAsync()
334 …e CacheableUnaryCall(global::Grpc.Testing.SimpleRequest request, grpc::Metadata headers = null, gl… in CacheableUnaryCall()
360 …heableUnaryCallAsync(global::Grpc.Testing.SimpleRequest request, grpc::Metadata headers = null, gl… in CacheableUnaryCallAsync()
385 …putCall(global::Grpc.Testing.StreamingOutputCallRequest request, grpc::Metadata headers = null, gl… in StreamingOutputCall()
408 …bal::Grpc.Testing.StreamingInputCallResponse> StreamingInputCall(grpc::Metadata headers = null, gl… in StreamingInputCall()
431 …global::Grpc.Testing.StreamingOutputCallResponse> FullDuplexCall(grpc::Metadata headers = null, gl… in FullDuplexCall()
456 …global::Grpc.Testing.StreamingOutputCallResponse> HalfDuplexCall(grpc::Metadata headers = null, gl… in HalfDuplexCall()
[all …]
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DGrpcHttp2InboundHeadersTest.java43 Http2Headers headers = new GrpcHttp2RequestHeaders(1); in basicCorrectness() local
67 Http2Headers headers = new GrpcHttp2RequestHeaders(1); in binaryHeadersShouldBeBase64Decoded() local
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/
DClientAuthInterceptorTest.java117 Metadata headers = new Metadata(); in testCopyCredentialToHeaders() local
135 Metadata headers = new Metadata(); in testCredentialsThrows() local
158 Metadata headers = new Metadata(); in testWithOAuth2Credential() local
186 private Metadata headers; field in ClientAuthInterceptorTest.ClientCallRecorder
194 public void start(ClientCall.Listener<Integer> responseListener, Metadata headers) { in start()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DRequest.java31 private final Headers headers; field in Request
73 public Headers headers() { in headers() method in Request
81 public List<String> headers(String name) { in headers() method in Request
123 private Headers.Builder headers; field in Request.Builder
207 public Builder headers(Headers headers) { in headers() method in Request.Builder
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DRequest.java36 private final Headers headers; field in Request
78 public Headers headers() { in headers() method in Request
86 public List<String> headers(String name) { in headers() method in Request
131 private Headers.Builder headers; field in Request.Builder
215 public Builder headers(Headers headers) { in headers() argument
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
DInternalRewrite.java48 private final Map<String, String> headers; field in InternalRewrite
50 public InternalRewrite(Map<String, String> headers, String uri) { in InternalRewrite() argument
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DClientStreamTracer.java49 public ClientStreamTracer newClientStreamTracer(Metadata headers) { in newClientStreamTracer()
62 public ClientStreamTracer newClientStreamTracer(CallOptions callOptions, Metadata headers) { in newClientStreamTracer()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMediaMetadataRetrieverTest.java96 Map<String, String> headers = new HashMap<>(); in setDataSource_ignoresHeadersWhenShadowed() local
99 retriever2.setDataSource(uri.toString(), headers); in setDataSource_ignoresHeadersWhenShadowed() local
101 addFrame(uri.toString(), headers, 13, bitmap2); in setDataSource_ignoresHeadersWhenShadowed() local
/external/grpc-grpc/tools/run_tests/generated/
Dsources_and_headers.json11 "headers": [], array
26 "headers": [], array
43 "headers": [], array
60 "headers": [], array
77 "headers": [], array
92 "headers": [], array
108 "headers": [], array
126 "headers": [], array
141 "headers": [], array
156 "headers": [], array
[all …]
/external/volley/src/test/java/com/android/volley/
DNetworkResponseTest.java22 Map<String, String> headers = new HashMap<>(); in mapToList() local
37 List<Header> headers = new ArrayList<>(); in listToMap() local
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DRealResponseBody.java24 private final Headers headers; field in RealResponseBody
27 public RealResponseBody(Headers headers, BufferedSource source) { in RealResponseBody()

12345678910>>...17