HomeSort by relevance Sort by last modified time
    Searched defs:interceptors (Results 1 - 25 of 31) sorted by null

1 2

  /external/guice/core/src/com/google/inject/internal/
MethodAspect.java 38 private final List<MethodInterceptor> interceptors; field in class:MethodAspect
45 * @param interceptors to apply
48 Matcher<? super Method> methodMatcher, List<MethodInterceptor> interceptors) {
51 this.interceptors = checkNotNull(interceptors, "interceptors");
55 Matcher<? super Method> methodMatcher, MethodInterceptor... interceptors) {
56 this(classMatcher, methodMatcher, Arrays.asList(interceptors));
67 List<MethodInterceptor> interceptors() { method in class:MethodAspect
68 return interceptors;
    [all...]
InterceptorStackCallback.java 34 * Intercepts a method with a stack of interceptors.
44 final MethodInterceptor[] interceptors; field in class:InterceptorStackCallback
48 List<MethodInterceptor> interceptors) {
50 this.interceptors = interceptors.toArray(new MethodInterceptor[interceptors.size()]);
75 return index == interceptors.length
77 : interceptors[index].invoke(
ProxyFactory.java 56 private final ImmutableMap<Method, List<MethodInterceptor>> interceptors; field in class:ProxyFactory
83 interceptors = ImmutableMap.of();
99 // Iterate over aspects and add interceptors for the methods they apply to
109 new Object[] { pair.method, methodAspect.interceptors() });
112 pair.addAll(methodAspect.interceptors());
119 interceptors = ImmutableMap.of();
140 ImmutableSet.copyOf(pair.interceptors).asList();
145 interceptors = interceptorsMapBuilder != null
151 * Returns the interceptors that apply to the constructed type.
154 return interceptors;
186 List<MethodInterceptor> interceptors; \/\/ lazy field in class:ProxyFactory.MethodInterceptorsPair
    [all...]
  /external/guice/core/src/com/google/inject/spi/
InterceptorBinding.java 31 * Registration of interceptors for matching methods of matching classes. Instances are created
49 private final ImmutableList<MethodInterceptor> interceptors; field in class:InterceptorBinding
55 MethodInterceptor[] interceptors) {
59 this.interceptors = ImmutableList.copyOf(interceptors);
75 return interceptors;
84 interceptors.toArray(new MethodInterceptor[interceptors.size()]));
  /external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
MockMethodAdvice.java 30 final WeakConcurrentMap<Object, MockMethodInterceptor> interceptors; field in class:MockMethodAdvice
36 public MockMethodAdvice(WeakConcurrentMap<Object, MockMethodInterceptor> interceptors, String identifier) {
37 this.interceptors = interceptors;
66 MockMethodInterceptor interceptor = interceptors.get(instance);
84 return interceptors.containsKey(instance);
269 mockMethodAdvice.interceptors.put(thiz, thiz.getMockitoInterceptor());
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
InterceptorTest.java 68 client.interceptors().add(new Interceptor() {
243 rewriteRequestToServer(client.interceptors());
250 private void rewriteRequestToServer(List<Interceptor> interceptors) throws Exception {
253 interceptors.add(new Interceptor() {
279 rewriteResponseFromServer(client.interceptors());
286 private void rewriteResponseFromServer(List<Interceptor> interceptors) throws Exception {
291 interceptors.add(new Interceptor() {
312 multipleInterceptors(client.interceptors());
319 private void multipleInterceptors(List<Interceptor> interceptors) throws Exception {
322 interceptors.add(new Interceptor()
    [all...]
  /external/guice/extensions/struts2/src/com/google/inject/struts2/
GuiceObjectFactory.java 54 List<ProvidedInterceptor> interceptors field in class:GuiceObjectFactory
148 for (ProvidedInterceptor interceptor : interceptors) {
154 // Inject interceptors.
155 for (ProvidedInterceptor interceptor : interceptors) {
179 interceptors.add(providedInterceptor);
205 binder.addError("Scoping interceptors is not currently supported."
Struts2Factory.java 56 private final List<ProvidedInterceptor> interceptors = new ArrayList<ProvidedInterceptor>(); field in class:Struts2Factory
133 for (ProvidedInterceptor interceptor : interceptors) {
139 // Inject interceptors.
140 for (ProvidedInterceptor interceptor : interceptors) {
161 interceptors.add(providedInterceptor);
189 binder.addError("Scoping interceptors is not currently supported."
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
OkHttpClient.java 125 private final List<Interceptor> interceptors = new ArrayList<>(); field in class:OkHttpClient
159 this.interceptors.addAll(okHttpClient.interceptors);
542 * Returns a modifiable list of interceptors that observe the full span of each call: from before
546 public List<Interceptor> interceptors() { method in class:OkHttpClient
547 return interceptors;
551 * Returns a modifiable list of interceptors that observe a single network request and response.
552 * These interceptors must call {@link Interceptor.Chain#proceed} exactly once: it is an error for
  /prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-swf-libraries/1.11.18/
aws-java-sdk-swf-libraries-1.11.18.jar 
  /prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.1/
grpc-core-1.0.1.jar 
  /prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.3/
grpc-core-1.0.3.jar 
  /prebuilts/tools/common/m2/repository/io/grpc/grpc-stub/0.13.2/
grpc-stub-0.13.2.jar 
  /prebuilts/tools/common/m2/repository/io/grpc/grpc-core/0.13.2/
grpc-core-0.13.2.jar 
  /external/testng/lib-supplied/
guice-2.0.jar 
  /prebuilts/tools/common/m2/repository/io/grpc/grpc-stub/1.0.1/
grpc-stub-1.0.1.jar 
  /prebuilts/tools/common/m2/repository/io/grpc/grpc-stub/1.0.3/
grpc-stub-1.0.3.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp3/okhttp/3.4.1/
okhttp-3.4.1.jar 
  /prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/
sisu-guice-3.1.0.jar 
  /external/guice/extensions/persist/lib/
xwork-2.0.4.jar 
  /prebuilts/tools/common/m2/repository/io/grpc/grpc-all/0.13.2/
grpc-all-0.13.2.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp3/okhttp/3.3.0/
okhttp-3.3.0.jar 
  /external/guice/extensions/struts2/lib/
xwork-core-2.2.1.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.5.0/
okhttp-2.5.0.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.2/
okhttp-2.7.2.jar 

Completed in 528 milliseconds

1 2