Home
last modified time | relevance | path

Searched refs:interceptors (Results 1 – 25 of 34) sorted by relevance

12

/external/guice/core/src/com/google/inject/internal/
DMethodAspect.java38 private final List<MethodInterceptor> interceptors; field in MethodAspect
48 Matcher<? super Method> methodMatcher, List<MethodInterceptor> interceptors) { in MethodAspect() argument
51 this.interceptors = checkNotNull(interceptors, "interceptors"); in MethodAspect()
55 Matcher<? super Method> methodMatcher, MethodInterceptor... interceptors) { in MethodAspect() argument
56 this(classMatcher, methodMatcher, Arrays.asList(interceptors)); in MethodAspect()
67 List<MethodInterceptor> interceptors() { in interceptors() method in MethodAspect
68 return interceptors; in interceptors()
DProxyFactory.java56 private final ImmutableMap<Method, List<MethodInterceptor>> interceptors; field in ProxyFactory
83 interceptors = ImmutableMap.of(); in ProxyFactory()
109 new Object[] { pair.method, methodAspect.interceptors() }); in ProxyFactory()
112 pair.addAll(methodAspect.interceptors()); in ProxyFactory()
119 interceptors = ImmutableMap.of(); in ProxyFactory()
140 ImmutableSet.copyOf(pair.interceptors).asList(); in ProxyFactory()
145 interceptors = interceptorsMapBuilder != null in ProxyFactory()
154 return interceptors; in getInterceptors()
158 if (interceptors.isEmpty()) { in create()
178 return new ProxyConstructor<T>(enhancer, injectionPoint, callbacks, interceptors); in create()
[all …]
DInterceptorStackCallback.java44 final MethodInterceptor[] interceptors; field in InterceptorStackCallback
48 List<MethodInterceptor> interceptors) { in InterceptorStackCallback() argument
50 this.interceptors = interceptors.toArray(new MethodInterceptor[interceptors.size()]); in InterceptorStackCallback()
75 return index == interceptors.length in proceed()
77 : interceptors[index].invoke( in proceed()
DEncounterImpl.java68 org.aopalliance.intercept.MethodInterceptor... interceptors) { in bindInterceptor() argument
76 aspects.add(new MethodAspect(Matchers.any(), methodMatcher, interceptors)); in bindInterceptor()
/external/guice/core/src/com/google/inject/spi/
DInterceptorBinding.java49 private final ImmutableList<MethodInterceptor> interceptors; field in InterceptorBinding
55 MethodInterceptor[] interceptors) { in InterceptorBinding() argument
59 this.interceptors = ImmutableList.copyOf(interceptors); in InterceptorBinding()
75 return interceptors; in getInterceptors()
84 interceptors.toArray(new MethodInterceptor[interceptors.size()])); in applyTo()
DTypeEncounter.java120 org.aopalliance.intercept.MethodInterceptor... interceptors); in bindInterceptor() argument
DElements.java227 org.aopalliance.intercept.MethodInterceptor... interceptors) { in bindInterceptor() argument
229 getElementSource(), classMatcher, methodMatcher, interceptors)); in bindInterceptor()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DInterceptorTest.java68 client.interceptors().add(new Interceptor() { in applicationInterceptorsCanShortCircuitResponses()
214 rewriteRequestToServer(client.interceptors()); in applicationInterceptorsRewriteRequestToServer()
221 private void rewriteRequestToServer(List<Interceptor> interceptors) throws Exception { in rewriteRequestToServer() argument
224 interceptors.add(new Interceptor() { in rewriteRequestToServer()
250 rewriteResponseFromServer(client.interceptors()); in applicationInterceptorsRewriteResponseFromServer()
257 private void rewriteResponseFromServer(List<Interceptor> interceptors) throws Exception { in rewriteResponseFromServer() argument
262 interceptors.add(new Interceptor() { in rewriteResponseFromServer()
283 multipleInterceptors(client.interceptors()); in multipleApplicationInterceptors()
290 private void multipleInterceptors(List<Interceptor> interceptors) throws Exception { in multipleInterceptors() argument
293 interceptors.add(new Interceptor() { in multipleInterceptors()
[all …]
DOkHttpClientTest.java159 clone.interceptors().add(null); in clonedInterceptorsListsAreIndependent()
161 assertEquals(0, original.interceptors().size()); in clonedInterceptorsListsAreIndependent()
/external/guice/extensions/struts2/src/com/google/inject/struts2/
DStruts2Factory.java56 private final List<ProvidedInterceptor> interceptors = new ArrayList<ProvidedInterceptor>(); field in Struts2Factory
133 for (ProvidedInterceptor interceptor : interceptors) { in createInjector()
140 for (ProvidedInterceptor interceptor : interceptors) { in createInjector()
161 interceptors.add(providedInterceptor); in buildInterceptor()
DGuiceObjectFactory.java54 List<ProvidedInterceptor> interceptors field in GuiceObjectFactory
148 for (ProvidedInterceptor interceptor : interceptors) { in createInjector()
155 for (ProvidedInterceptor interceptor : interceptors) { in createInjector()
179 interceptors.add(providedInterceptor); in buildInterceptor()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpClient.java178 private final List<Interceptor> interceptors = new ArrayList<>(); field in OkHttpClient
212 this.interceptors.addAll(okHttpClient.interceptors); in OkHttpClient()
585 public List<Interceptor> interceptors() { in interceptors() method in OkHttpClient
586 return interceptors; in interceptors()
DCall.java218 if (index < client.interceptors().size()) { in proceed()
221 return client.interceptors().get(index).intercept(chain); in proceed()
/external/guice/core/src/com/google/inject/
DAbstractModule.java170 org.aopalliance.intercept.MethodInterceptor... interceptors) { in bindInterceptor() argument
171 binder().bindInterceptor(classMatcher, methodMatcher, interceptors); in bindInterceptor()
DPrivateModule.java228 org.aopalliance.intercept.MethodInterceptor... interceptors) { in bindInterceptor() argument
229 binder().bindInterceptor(classMatcher, methodMatcher, interceptors); in bindInterceptor()
DBinder.java228 org.aopalliance.intercept.MethodInterceptor... interceptors); in bindInterceptor() argument
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DRequestBodyCompression.java44 client.interceptors().add(new GzipRequestInterceptor()); in RequestBodyCompression()
/external/compiler-rt/cmake/Modules/
DSanitizerUtils.cmake9 # interceptors are exported automatically, user can also provide files with
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors_format.inc10 // Scanf/printf implementation for use in *Sanitizer interceptors.
299 // Common part of *scanf interceptors.
492 // Common part of *printf interceptors.
Dsanitizer_malloc_mac.inc10 // This file contains Mac-specific malloc interceptors and a custom zone
/external/valgrind/docs/internals/
D3_7_BUGSTATUS.txt95 some problem with interceptors on Helgrind/OSX
/external/libchrome/sandbox/win/
Dsandbox_win.gypi49 'src/interceptors.h',
DBUILD.gn46 "src/interceptors.h",
/external/clang/docs/
DMemorySanitizer.rst177 interceptors for the most common libc functions. They make it possible
/external/okhttp/
DCHANGELOG.md119 Previously clones shared interceptors, which made it difficult to customize
120 the interceptors on a request-by-request basis.
217 * **OkHttp now offers interceptors.** Interceptors are a powerful mechanism

12