Searched refs:Interceptor (Results 1 – 19 of 19) sorted by relevance
29 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 …]
32 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 …]
68 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 …]
780 c.interceptors().add(new Interceptor() { in asyncCallEngineInitialized()1813 client.interceptors().add(new Interceptor() { in cancelWithInterceptor()
1985 client.networkInterceptors().add(new Interceptor() { in networkInterceptorInvokedForConditionalGet()2007 client.networkInterceptors().add(new Interceptor() { in networkInterceptorNotInvokedForFullyCached()
3205 Interceptor interceptor = new Interceptor() {
19 import com.squareup.okhttp.Interceptor;30 private static final Interceptor CHECK_HANDSHAKE_INTERCEPTOR = new Interceptor() {
19 import com.squareup.okhttp.Interceptor;28 private static final Interceptor REWRITE_CACHE_CONTROL_INTERCEPTOR = new Interceptor() {
18 import com.squareup.okhttp.Interceptor;30 client.networkInterceptors().add(new Interceptor() { in LoggingInterceptors()
19 import com.squareup.okhttp.Interceptor;68 static class GzipRequestInterceptor implements Interceptor {
18 import com.squareup.okhttp.Interceptor;49 client.networkInterceptors().add(new Interceptor() { in run()
204 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()
125 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()
25 public interface Interceptor { interface
20 import com.squareup.okhttp.Interceptor;44 public final class HttpLoggingInterceptor implements Interceptor {
1 Logging Interceptor
25 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()
69 * **New Logging Interceptor.** The `logging-interceptor` subproject offers
675 Added: Method Interceptor