Home
last modified time | relevance | path

Searched refs:Interceptor (Results 1 – 19 of 19) sorted by relevance

/external/guice/extensions/struts2/src/com/google/inject/struts2/
DStruts2Factory.java29 import com.opensymphony.xwork2.interceptor.Interceptor;
148 public Interceptor buildInterceptor(InterceptorConfig interceptorConfig, in buildInterceptor()
151 Class<? extends Interceptor> interceptorClass; in buildInterceptor()
153 interceptorClass = (Class<? extends Interceptor>) in buildInterceptor()
165 private Interceptor superBuildInterceptor(InterceptorConfig interceptorConfig, in superBuildInterceptor()
170 private class ProvidedInterceptor implements Interceptor {
176 private final Class<? extends Interceptor> interceptorClass;
177 private Interceptor delegate;
180 Class<? extends Interceptor> interceptorClass) { in ProvidedInterceptor()
195 if (!Interceptor.class.isAssignableFrom(interceptorClass)) { in validate()
[all …]
DGuiceObjectFactory.java32 import com.opensymphony.xwork2.interceptor.Interceptor;
167 public Interceptor buildInterceptor(InterceptorConfig interceptorConfig, in buildInterceptor()
170 Class<? extends Interceptor> interceptorClass; in buildInterceptor()
183 Interceptor superBuildInterceptor(InterceptorConfig interceptorConfig, in superBuildInterceptor()
188 class ProvidedInterceptor implements Interceptor {
192 final Class<? extends Interceptor> interceptorClass;
193 Interceptor delegate;
196 Class<? extends Interceptor> interceptorClass) { in ProvidedInterceptor()
211 if (!Interceptor.class.isAssignableFrom(interceptorClass)) { in validate()
213 + Interceptor.class.getName() + "."); in validate()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DInterceptorTest.java68 client.interceptors().add(new Interceptor() { in applicationInterceptorsCanShortCircuitResponses()
81 Interceptor interceptor = new Interceptor() { in networkInterceptorsCannotShortCircuitResponses()
111 Interceptor interceptor = new Interceptor() { in networkInterceptorsCannotCallProceedMultipleTimes()
135 Interceptor interceptor = new Interceptor() { in networkInterceptorsCannotChangeServerAddress()
163 client.networkInterceptors().add(new Interceptor() { in networkInterceptorsHaveConnectionAccess()
182 client.networkInterceptors().add(new Interceptor() { in networkInterceptorsObserveNetworkHeaders()
216 client.networkInterceptors().add(new Interceptor() { in networkInterceptorsCanChangeRequestMethodFromGetToPost()
250 private void rewriteRequestToServer(List<Interceptor> interceptors) throws Exception { in rewriteRequestToServer()
253 interceptors.add(new Interceptor() { in rewriteRequestToServer()
286 private void rewriteResponseFromServer(List<Interceptor> interceptors) throws Exception { in rewriteResponseFromServer()
[all …]
DCallTest.java780 c.interceptors().add(new Interceptor() { in asyncCallEngineInitialized()
1813 client.interceptors().add(new Interceptor() { in cancelWithInterceptor()
DCacheTest.java1985 client.networkInterceptors().add(new Interceptor() { in networkInterceptorInvokedForConditionalGet()
2007 client.networkInterceptors().add(new Interceptor() { in networkInterceptorNotInvokedForFullyCached()
DURLConnectionTest.java3205 Interceptor interceptor = new Interceptor() {
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DCheckHandshake.java19 import com.squareup.okhttp.Interceptor;
30 private static final Interceptor CHECK_HANDSHAKE_INTERCEPTOR = new Interceptor() {
DRewriteResponseCacheControl.java19 import com.squareup.okhttp.Interceptor;
28 private static final Interceptor REWRITE_CACHE_CONTROL_INTERCEPTOR = new Interceptor() {
DLoggingInterceptors.java18 import com.squareup.okhttp.Interceptor;
30 client.networkInterceptors().add(new Interceptor() { in LoggingInterceptors()
DRequestBodyCompression.java19 import com.squareup.okhttp.Interceptor;
68 static class GzipRequestInterceptor implements Interceptor {
DProgress.java18 import com.squareup.okhttp.Interceptor;
49 client.networkInterceptors().add(new Interceptor() { in run()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCall.java204 Interceptor.Chain chain = new ApplicationInterceptorChain(0, originalRequest, forWebSocket); in getResponseWithInterceptorChain()
208 class ApplicationInterceptorChain implements Interceptor.Chain {
230 Interceptor.Chain chain = new ApplicationInterceptorChain(index + 1, request, forWebSocket); in proceed()
231 Interceptor interceptor = client.interceptors().get(index); in proceed()
DOkHttpClient.java125 private final List<Interceptor> interceptors = new ArrayList<>();
126 private final List<Interceptor> networkInterceptors = new ArrayList<>();
546 public List<Interceptor> interceptors() { in interceptors()
555 public List<Interceptor> networkInterceptors() { in networkInterceptors()
DInterceptor.java25 public interface Interceptor { interface
/external/okhttp/okhttp-logging-interceptor/src/main/java/com/squareup/okhttp/logging/
DHttpLoggingInterceptor.java20 import com.squareup.okhttp.Interceptor;
44 public final class HttpLoggingInterceptor implements Interceptor {
/external/okhttp/okhttp-logging-interceptor/
DREADME.md1 Logging Interceptor
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpEngine.java25 import com.squareup.okhttp.Interceptor;
652 class NetworkInterceptorChain implements Interceptor.Chain {
674 Interceptor caller = client.networkInterceptors().get(index - 1); in proceed()
694 Interceptor interceptor = client.networkInterceptors().get(index); in proceed()
/external/okhttp/
DCHANGELOG.md69 * **New Logging Interceptor.** The `logging-interceptor` subproject offers
/external/testng/
DCHANGES.txt675 Added: Method Interceptor