OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:interceptors
(Results
1 - 9
of
9
) sorted by null
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
InterceptorTest.java
69
client.
interceptors
().add(new Interceptor() {
215
rewriteRequestToServer(client.
interceptors
());
222
private void rewriteRequestToServer(List<Interceptor>
interceptors
) throws Exception {
225
interceptors
.add(new Interceptor() {
251
rewriteResponseFromServer(client.
interceptors
());
258
private void rewriteResponseFromServer(List<Interceptor>
interceptors
) throws Exception {
263
interceptors
.add(new Interceptor() {
284
multipleInterceptors(client.
interceptors
());
291
private void multipleInterceptors(List<Interceptor>
interceptors
) throws Exception {
294
interceptors
.add(new Interceptor()
[
all
...]
OkHttpClientTest.java
152
clone.
interceptors
().add(null);
154
assertEquals(0, original.
interceptors
().size());
CallTest.java
[
all
...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
OkHttpClient.java
171
private final List<Interceptor>
interceptors
= new ArrayList<>();
field in class:OkHttpClient
205
this.
interceptors
.addAll(okHttpClient.
interceptors
);
571
* Returns a modifiable list of
interceptors
that observe the full span of each call: from before
575
public List<Interceptor>
interceptors
() {
method in class:OkHttpClient
576
return
interceptors
;
580
* Returns a modifiable list of
interceptors
that observe a single network request and response.
581
* These
interceptors
must call {@link Interceptor.Chain#proceed} exactly once: it is an error for
Call.java
224
if (index < client.
interceptors
().size()) {
227
return client.
interceptors
().get(index).intercept(chain);
229
// No more
interceptors
. Do HTTP.
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
RequestBodyCompression.java
44
client.
interceptors
().add(new GzipRequestInterceptor());
/external/v8/src/
mirror-debugger.js
683
// Get information on
interceptors
for this object.
690
// Get information on
interceptors
for this object.
[
all
...]
v8natives.js
1086
// but
interceptors
can interfere with that assumption.
[
all
...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
URLConnectionTest.java
[
all
...]
Completed in 456 milliseconds