/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | ClientInterceptorsTest.java | 75 ClientInterceptors.intercept(null, Arrays.<ClientInterceptor>asList()); in npeForNullChannel() 80 ClientInterceptors.intercept(channel, (List<ClientInterceptor>) null); in npeForNullInterceptorList() 85 ClientInterceptors.intercept(channel, (ClientInterceptor) null); in npeForNullInterceptor() 90 assertSame(channel, ClientInterceptors.intercept(channel, Arrays.<ClientInterceptor>asList())); in noop() 95 ClientInterceptor interceptor = in channelAndInterceptorCalled() 96 mock(ClientInterceptor.class, delegatesTo(new NoopInterceptor())); in channelAndInterceptorCalled() 114 ClientInterceptor interceptor = new ClientInterceptor() { in callNextTwice() 148 ClientInterceptor interceptor1 = new ClientInterceptor() { in ordered() 158 ClientInterceptor interceptor2 = new ClientInterceptor() { in ordered() 190 ClientInterceptor interceptor1 = new ClientInterceptor() { in orderedForward() [all …]
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | ClientInterceptors.java | 44 public static Channel interceptForward(Channel channel, ClientInterceptor... interceptors) { in interceptForward() 58 List<? extends ClientInterceptor> interceptors) { in interceptForward() 59 List<? extends ClientInterceptor> copy = new ArrayList<>(interceptors); in interceptForward() 73 public static Channel intercept(Channel channel, ClientInterceptor... interceptors) { in intercept() 86 public static Channel intercept(Channel channel, List<? extends ClientInterceptor> interceptors) { in intercept() 88 for (ClientInterceptor interceptor : interceptors) { in intercept() 98 static <WReqT, WRespT> ClientInterceptor wrapClientInterceptor( in wrapClientInterceptor() 99 final ClientInterceptor interceptor, in wrapClientInterceptor() 102 return new ClientInterceptor() { in wrapClientInterceptor() 146 private final ClientInterceptor interceptor; [all …]
|
D | InternalClientInterceptors.java | 26 public static <ReqT, RespT> ClientInterceptor wrapClientInterceptor( in wrapClientInterceptor() 27 final ClientInterceptor interceptor, in wrapClientInterceptor()
|
D | ManagedChannelBuilder.java | 112 public abstract T intercept(List<ClientInterceptor> interceptors); in intercept() 122 public abstract T intercept(ClientInterceptor... interceptors); in intercept()
|
D | ForwardingChannelBuilder.java | 73 public T intercept(List<ClientInterceptor> interceptors) { in intercept() 79 public T intercept(ClientInterceptor... interceptors) { in intercept()
|
D | ClientInterceptor.java | 33 public interface ClientInterceptor { interface
|
/external/grpc-grpc-java/android-interop-testing/app/src/main/java/io/grpc/android/integrationtest/ |
D | InteropTask.java | 21 import io.grpc.ClientInterceptor; 47 List<ClientInterceptor> interceptors, in InteropTask() 152 private final List<ClientInterceptor> interceptors; 154 private Tester(ManagedChannel channel, List<ClientInterceptor> interceptors) { in Tester() 165 protected ClientInterceptor[] getAdditionalInterceptors() { in getAdditionalInterceptors() 166 return interceptors.toArray(new ClientInterceptor[0]); in getAdditionalInterceptors()
|
D | TesterActivity.java | 35 import io.grpc.ClientInterceptor; 132 List<ClientInterceptor> interceptors = new ArrayList<>(); in startTest() 153 private static final class SafeMethodChannelInterceptor implements ClientInterceptor {
|
/external/grpc-grpc-java/stub/src/main/java/io/grpc/stub/ |
D | MetadataUtils.java | 24 import io.grpc.ClientInterceptor; 58 public static ClientInterceptor newAttachHeadersInterceptor(Metadata extraHeaders) { in newAttachHeadersInterceptor() 62 private static final class HeaderAttachingClientInterceptor implements ClientInterceptor { 118 public static ClientInterceptor newCaptureMetadataInterceptor( in newCaptureMetadataInterceptor() 123 private static final class MetadataCapturingClientInterceptor implements ClientInterceptor {
|
D | AbstractStub.java | 24 import io.grpc.ClientInterceptor; 184 public final S withInterceptors(ClientInterceptor... interceptors) { in withInterceptors()
|
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/ |
D | BinaryLogProvider.java | 25 import io.grpc.ClientInterceptor; 49 private final ClientInterceptor binaryLogShim = new BinaryLogShim(); 103 protected abstract ClientInterceptor getClientInterceptor( in getClientInterceptor() 143 private final class BinaryLogShim implements ClientInterceptor { 149 ClientInterceptor binlogInterceptor = getClientInterceptor( in interceptCall()
|
D | BinaryLogProviderImpl.java | 21 import io.grpc.ClientInterceptor; 73 public ClientInterceptor getClientInterceptor( in getClientInterceptor()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | AbstractManagedChannelImplBuilder.java | 26 import io.grpc.ClientInterceptor; 100 private final List<ClientInterceptor> interceptors = new ArrayList<>(); 215 public final T intercept(List<ClientInterceptor> interceptors) { in intercept() 221 public final T intercept(ClientInterceptor... interceptors) { in intercept() 419 final List<ClientInterceptor> getEffectiveInterceptors() { in getEffectiveInterceptors() 420 List<ClientInterceptor> effectiveInterceptors = in getEffectiveInterceptors()
|
D | CensusTracingModule.java | 26 import io.grpc.ClientInterceptor; 136 ClientInterceptor getClientInterceptor() { in getClientInterceptor() 376 final class TracingClientInterceptor implements ClientInterceptor {
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | AbstractManagedChannelImplBuilderTest.java | 33 import io.grpc.ClientInterceptor; 61 private static final ClientInterceptor DUMMY_USER_INTERCEPTOR = 62 new ClientInterceptor() { 270 List<ClientInterceptor> effectiveInterceptors = builder.getEffectiveInterceptors(); in getEffectiveInterceptors_default() 283 List<ClientInterceptor> effectiveInterceptors = builder.getEffectiveInterceptors(); in getEffectiveInterceptors_disableStats() 294 List<ClientInterceptor> effectiveInterceptors = builder.getEffectiveInterceptors(); in getEffectiveInterceptors_disableTracing() 306 List<ClientInterceptor> effectiveInterceptors = builder.getEffectiveInterceptors(); in getEffectiveInterceptors_disableBoth()
|
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/header/ |
D | HeaderClientInterceptor.java | 23 import io.grpc.ClientInterceptor; 33 public class HeaderClientInterceptor implements ClientInterceptor {
|
D | CustomHeaderClient.java | 20 import io.grpc.ClientInterceptor; 49 ClientInterceptor interceptor = new HeaderClientInterceptor(); in CustomHeaderClient()
|
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/header/ |
D | HeaderServerInterceptorTest.java | 28 import io.grpc.ClientInterceptor; 91 class SpyingClientInterceptor implements ClientInterceptor { in serverHeaderDeliveredToClient()
|
/external/grpc-grpc-java/auth/src/main/java/io/grpc/auth/ |
D | ClientAuthInterceptor.java | 24 import io.grpc.ClientInterceptor; 47 public final class ClientAuthInterceptor implements ClientInterceptor {
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/ |
D | GoogleDefaultChannelBuilder.java | 27 import io.grpc.ClientInterceptor; 176 static final class GoogleDefaultInterceptor implements ClientInterceptor {
|
D | AltsChannelBuilder.java | 25 import io.grpc.ClientInterceptor; 225 static final class FailingClientInterceptor implements ClientInterceptor {
|
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/ |
D | TransportCompressionTest.java | 27 import io.grpc.ClientInterceptor; 133 .intercept(new ClientInterceptor() {
|
/external/grpc-grpc-java/examples/android/clientcache/app/src/main/java/io/grpc/clientcacheexample/ |
D | SafeMethodCachingInterceptor.java | 10 import io.grpc.ClientInterceptor; 36 final class SafeMethodCachingInterceptor implements ClientInterceptor {
|
/external/grpc-grpc/src/ruby/lib/grpc/generic/ |
D | interceptors.rb | 35 class ClientInterceptor < Interceptor class
|
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/ |
D | BinaryLogProviderTest.java | 29 import io.grpc.ClientInterceptor; 92 public ClientInterceptor getClientInterceptor( 304 private final class TestBinaryLogClientInterceptor implements ClientInterceptor {
|