HomeSort by relevance Sort by last modified time
    Searched refs:interceptor (Results 1 - 25 of 104) sorted by null

1 2 3 4 5

  /external/apache-http/src/org/apache/http/protocol/
BasicHttpProcessor.java 149 * @param interceptor the interceptor to add
152 void addInterceptor(final HttpRequestInterceptor interceptor) {
153 addRequestInterceptor(interceptor);
157 void addInterceptor(final HttpRequestInterceptor interceptor,
159 addRequestInterceptor(interceptor, index);
202 * @param interceptor the interceptor to add
205 void addInterceptor(final HttpResponseInterceptor interceptor) {
206 addResponseInterceptor(interceptor);
293 HttpRequestInterceptor interceptor = local
307 HttpResponseInterceptor interceptor = local
    [all...]
  /external/guice/core/test/com/google/inject/internal/
ProxyFactoryTest.java 47 SimpleInterceptor interceptor = new SimpleInterceptor(); local
50 aspects.add(new MethodAspect(any(), any(), interceptor));
58 assertTrue(interceptor.invoked);
80 SimpleInterceptor interceptor = new SimpleInterceptor(); local
82 aspects.add(new MethodAspect(only(Bar.class), annotatedWith(Intercept.class), interceptor));
94 assertFalse(interceptor.invoked);
98 assertFalse(interceptor.invoked);
102 assertTrue(interceptor.invoked);
133 SimpleInterceptor interceptor = new SimpleInterceptor(); local
135 aspects.add(new MethodAspect(any(), any(), interceptor));
148 SimpleInterceptor interceptor = new SimpleInterceptor(); local
    [all...]
  /external/guice/jdk8-tests/test/com/google/inject/jdk8/
DefaultMethodInterceptionTest.java 46 // the interceptor's a lambda too
47 private final MethodInterceptor interceptor = invocation -> { field in class:DefaultMethodInterceptionTest
83 interceptor);
99 interceptor);
127 interceptor);
162 interceptor);
194 bindInterceptor(Matchers.subclassesOf(Baz.class), Matchers.any(), interceptor);
211 bindInterceptor(Matchers.subclassesOf(BazImpl.class), Matchers.any(), interceptor);
  /frameworks/base/services/tests/servicestests/src/com/android/server/
BroadcastInterceptingContext.java 90 final BroadcastInterceptor interceptor = new BroadcastInterceptor(null, filter); local
92 mInterceptors.add(interceptor);
94 return interceptor;
116 final BroadcastInterceptor interceptor = i.next(); local
117 if (receiver.equals(interceptor.mReceiver)) {
129 final BroadcastInterceptor interceptor = i.next(); local
130 if (interceptor.dispatchBroadcast(intent)) {
  /external/mockito/src/org/mockito/internal/creation/jmock/
ClassImposterizer.java 51 public <T> T imposterise(final MethodInterceptor interceptor, Class<T> mockedType, Collection<Class> ancillaryTypes) {
52 return imposterise(interceptor, mockedType, ancillaryTypes.toArray(new Class[ancillaryTypes.size()]));
55 public <T> T imposterise(final MethodInterceptor interceptor, Class<T> mockedType, Class<?>... ancillaryTypes) {
61 proxyInstance = createProxy(proxyClass, interceptor);
133 private Object createProxy(Class<?> proxyClass, final MethodInterceptor interceptor) {
135 proxy.setCallbacks(new Callback[] {interceptor, SerializableNoOp.SERIALIZABLE_INSTANCE });
  /external/guice/extensions/struts2/src/com/google/inject/struts2/
Struts2Factory.java 29 import com.opensymphony.xwork2.interceptor.Interceptor;
132 // Validate the interceptor class.
133 for (ProvidedInterceptor interceptor : interceptors) {
134 interceptor.validate(binder());
140 for (ProvidedInterceptor interceptor : interceptors) {
141 interceptor.inject();
148 public Interceptor buildInterceptor(InterceptorConfig interceptorConfig,
150 // Ensure the interceptor class is present.
151 Class<? extends Interceptor> interceptorClass
    [all...]
GuiceObjectFactory.java 32 import com.opensymphony.xwork2.interceptor.Interceptor;
147 // Validate the interceptor class.
148 for (ProvidedInterceptor interceptor : interceptors) {
149 interceptor.validate(binder());
155 for (ProvidedInterceptor interceptor : interceptors) {
156 interceptor.inject();
167 public Interceptor buildInterceptor(InterceptorConfig interceptorConfig,
169 // Ensure the interceptor class is present.
170 Class<? extends Interceptor> interceptorClass
    [all...]
  /external/testng/src/test/java/test/listeners/
ListenerTest.java 115 MyMethodInterceptor interceptor = new MyMethodInterceptor(); local
116 tng.addListener(interceptor);
118 Assert.assertEquals(interceptor.getCount(), 1);
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
InterceptorTest.java 68 client.interceptors().add(new Interceptor() {
81 Interceptor interceptor = new Interceptor() { local
92 client.networkInterceptors().add(interceptor);
102 assertEquals("network interceptor " + interceptor + " must call proceed() exactly once",
111 Interceptor interceptor = new Interceptor() { local
135 Interceptor interceptor = new Interceptor() { local
    [all...]
  /external/guice/extensions/persist/lib/
xwork-2.0.4.jar 
  /development/samples/ApiDemos/src/com/example/android/apis/view/
Hover.java 54 * A checkbox is used to control whether a special view, the Interceptor, will intercept
55 * events before they are sent to its child (a button). When the Interceptor
57 * over it because the interceptor itself will grab the events.
72 mInterceptor = (HoverInterceptorView) findViewById(R.id.interceptor);
  /external/guice/extensions/struts2/lib/
struts2-core-2.2.1.jar 
xwork-core-2.2.1.jar 
  /external/v8/src/
keys.cc 435 Handle<InterceptorInfo> interceptor,
438 PropertyCallbackArguments args(isolate, interceptor->data(), *receiver,
441 if (!interceptor->enumerator()->IsUndefined(isolate)) {
442 Callback enum_fun = v8::ToCData<Callback>(interceptor->enumerator());
443 const char* log_tag = type == kIndexed ? "interceptor-indexed-enum"
444 : "interceptor-named-enum";
465 Handle<InterceptorInfo> interceptor(type == kIndexed
470 !interceptor->all_can_read()) {
474 receiver, object, interceptor, accumulator);
547 // Add the property keys from the interceptor
    [all...]
lookup.cc 388 } else if (state_ == INTERCEPTOR) {
488 DCHECK(has_property_ || state_ == INTERCEPTOR || state_ == JSPROXY);
671 STATIC_ASSERT(INTERCEPTOR == BEFORE_PROPERTY);
684 if (is_element || !name_->IsPrivate()) return INTERCEPTOR;
687 case INTERCEPTOR:
767 Object* interceptor = IsElement() ? access_check_info->indexed_interceptor() local
769 if (interceptor) {
770 return handle(InterceptorInfo::cast(interceptor), isolate_);
objects.cc 775 case LookupIterator::INTERCEPTOR: {
816 case LookupIterator::INTERCEPTOR: {
1498 Handle<InterceptorInfo> interceptor = local
1537 Handle<InterceptorInfo> interceptor = local
1579 Handle<InterceptorInfo> interceptor = local
    [all...]
  /external/guice/core/test/com/google/inject/
MethodInterceptionTest.java 176 assertEquals("expected counting interceptor to be invoked first", 1, count.get());
320 CountingInterceptor interceptor = new CountingInterceptor();
321 bindInterceptor(Matchers.any(), Matchers.any(), interceptor);
322 bindInterceptor(Matchers.any(), Matchers.any(), interceptor);
  /external/v8/test/mjsunit/
mirror-object.js 65 assertFalse(mirror.hasNamedInterceptor(), 'No named interceptor expected');
66 assertFalse(mirror.hasIndexedInterceptor(), 'No indexed interceptor expected');
109 assertEquals(void 0, fromJSON.namedInterceptor, 'No named interceptor expected in JSON');
110 assertEquals(void 0, fromJSON.indexedInterceptor, 'No indexed interceptor expected in JSON');
mirror-array.js 82 assertEquals(void 0, fromJSON.namedInterceptor, 'No named interceptor expected in JSON');
83 assertEquals(void 0, fromJSON.indexedInterceptor, 'No indexed interceptor expected in JSON');
  /external/v8/src/ic/
ic.cc 248 case LookupIterator::INTERCEPTOR: {
940 } else if (lookup->state() == LookupIterator::INTERCEPTOR) {
942 // The interceptor handler requires name but it is not passed explicitly
2880 InterceptorInfo* interceptor = holder->GetNamedInterceptor(); local
2915 InterceptorInfo* interceptor = holder->GetNamedInterceptor(); local
2963 InterceptorInfo* interceptor = receiver->GetNamedInterceptor(); local
2999 InterceptorInfo* interceptor = receiver->GetIndexedInterceptor(); local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpEngine.java 26 import com.squareup.okhttp.Interceptor;
825 class NetworkInterceptorChain implements Interceptor.Chain {
847 Interceptor caller = client.networkInterceptors().get(index - 1);
850 // Confirm that the interceptor uses the connection we've already prepared.
853 throw new IllegalStateException("network interceptor " + caller
857 // Confirm that this is the interceptor's first call to chain.proceed().
859 throw new IllegalStateException("network interceptor " + caller
865 // There's another interceptor in the chain. Call that.
867 Interceptor interceptor = client.networkInterceptors().get(index) local
    [all...]
  /prebuilts/tools/common/m2/repository/io/grpc/grpc-core/0.13.2/
grpc-core-0.13.2.jar 
  /external/robolectric/v1/lib/main/
httpcore-4.0.1.jar 
  /prebuilts/devtools/tools/lib/
httpcore-4.1.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.apache.httpcomponents.httpcore_4.1.4.v201203221030.jar 

Completed in 799 milliseconds

1 2 3 4 5