OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:interceptors
(Results
1 - 18
of
18
) sorted by null
/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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
InterceptorTest.java
68
client.
interceptors
().add(new Interceptor() {
214
rewriteRequestToServer(client.
interceptors
());
221
private void rewriteRequestToServer(List<Interceptor>
interceptors
) throws Exception {
224
interceptors
.add(new Interceptor() {
250
rewriteResponseFromServer(client.
interceptors
());
257
private void rewriteResponseFromServer(List<Interceptor>
interceptors
) throws Exception {
262
interceptors
.add(new Interceptor() {
283
multipleInterceptors(client.
interceptors
());
290
private void multipleInterceptors(List<Interceptor>
interceptors
) throws Exception {
293
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
178
private final List<Interceptor>
interceptors
= new ArrayList<>();
field in class:OkHttpClient
212
this.
interceptors
.addAll(okHttpClient.
interceptors
);
581
* Returns a modifiable list of
interceptors
that observe the full span of each call: from before
585
public List<Interceptor>
interceptors
() {
method in class:OkHttpClient
586
return
interceptors
;
590
* Returns a modifiable list of
interceptors
that observe a single network request and response.
591
* These
interceptors
must call {@link Interceptor.Chain#proceed} exactly once: it is an error for
/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/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
/external/guice/extensions/struts2/lib/
xwork-core-2.2.1.jar
struts2-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/org/mockito/mockito-core/2.2.5/
mockito-core-2.2.5.jar
Completed in 256 milliseconds