Home
last modified time | relevance | path

Searched refs:getAuthority (Results 1 – 25 of 62) sorted by relevance

123

/external/grpc-grpc-java/core/src/main/java/io/grpc/
DServerStreamTracer.java82 public abstract String getAuthority(); in getAuthority() method in ServerStreamTracer.ServerCallInfo
127 public String getAuthority() { in getAuthority() method in ServerStreamTracer.ReadOnlyServerCall
128 return callInfo.getAuthority(); in getAuthority()
DPartialForwardingServerCall.java75 public String getAuthority() { in getAuthority() method in PartialForwardingServerCall
76 return delegate().getAuthority(); in getAuthority()
DServerCall.java211 public String getAuthority() { in getAuthority() method in ServerCall
DCallCredentials.java135 public abstract String getAuthority(); in getAuthority() method in CallCredentials.RequestInfo
DCallCredentials2.java73 public String getAuthority() { in applyRequestMetadata()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DCallCredentialsApplyingTransportFactory.java47 delegate.newClientTransport(serverAddress, options), options.getAuthority()); in newClientTransport()
86 if (callOptions.getAuthority() != null) { in newStream()
87 effectiveAttrsBuilder.set(CallCredentials.ATTR_AUTHORITY, callOptions.getAuthority()); in newStream()
DServerStream.java83 String getAuthority(); in getAuthority() method
DDnsNameResolverProvider.java51 targetUri.getAuthority(), in newNameResolver()
DServerCallInfoImpl.java54 public String getAuthority() { in getAuthority() method in ServerCallInfoImpl
DServerCallImpl.java202 public String getAuthority() { in getAuthority() method in ServerCallImpl
203 return stream.getAuthority(); in getAuthority()
DClientTransportFactory.java73 public String getAuthority() { in getAuthority() method in ClientTransportFactory.ClientTransportOptions
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DServerCallImplTest.java324 public void getAuthority() { in getAuthority() method in ServerCallImplTest
325 when(stream.getAuthority()).thenReturn("fooapi.googleapis.com"); in getAuthority()
326 assertEquals("fooapi.googleapis.com", call.getAuthority()); in getAuthority()
327 verify(stream).getAuthority(); in getAuthority()
332 when(stream.getAuthority()).thenReturn(null); in getNullAuthority()
333 assertNull(call.getAuthority()); in getNullAuthority()
334 verify(stream).getAuthority(); in getNullAuthority()
DClientTransportFactoryTest.java41 assertThat(cto.getAuthority()).isNotNull(); in clientTransportOptions_init_checkNotNulls()
52 assertThat(cto.getAuthority()).isEqualTo(authority); in clientTransportOptions_getsMatchSets()
DCallCredentials2ApplyingTest.java136 assertSame(AUTHORITY, info.getAuthority()); in parameterPropagation_base()
156 assertSame(AUTHORITY, info.getAuthority()); in parameterPropagation_transportSetSecurityLevel()
177 assertEquals("calloptions-authority", info.getAuthority()); in parameterPropagation_callOptionsSetAuthority()
DAutoConfiguredLoadBalancerFactoryTest.java293 public String getAuthority() { in channelTracing_lbPolicyChanged()
411 public String getAuthority() { in getAuthority() method in AutoConfiguredLoadBalancerFactoryTest.ForwardingLoadBalancerHelper
412 return delegate().getAuthority(); in getAuthority()
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DForwardingLoadBalancerHelper.java87 public String getAuthority() { in getAuthority() method in ForwardingLoadBalancerHelper
88 return delegate().getAuthority(); in getAuthority()
DTransmitStatusRuntimeExceptionInterceptor.java252 public String getAuthority() {
257 retVal.set(SerializingServerCall.super.getAuthority());
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DCallOptionsTest.java67 assertThat(CallOptions.DEFAULT.getAuthority()).isNull(); in defaultsAreAllNull()
84 assertThat(allSet.getAuthority()).isSameAs(sampleAuthority); in allWiths()
230 && Objects.equal(o1.getAuthority(), o2.getAuthority()) in equal()
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbState.java161 this.serviceName = checkNotNull(helper.getAuthority(), "helper returns null authority"); in GrpclbState()
266 lbAddressGroup.getAddresses(), lbAddressGroup.getAuthority()); in startLbComm()
267 } else if (lbAddressGroup.getAuthority().equals(lbCommChannel.authority())) { in startLbComm()
273 lbAddressGroup.getAddresses(), lbAddressGroup.getAuthority()); in startLbComm()
726 String authority = groupList.get(0).getAuthority(); in flattenLbAddressGroups()
728 if (!authority.equals(group.getAuthority())) { in flattenLbAddressGroups()
734 new Object[] {logId, group.getAuthority(), authority}); in flattenLbAddressGroups()
DLbAddressGroup.java39 String getAuthority() { in getAuthority() method in LbAddressGroup
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1/
DClientHeaderOrBuilder.java68 java.lang.String getAuthority(); in getAuthority() method
DClientHeader.java208 public java.lang.String getAuthority() { in getAuthority() method in ClientHeader
347 result = result && getAuthority() in equals()
348 .equals(other.getAuthority()); in equals()
372 hash = (53 * hash) + getAuthority().hashCode(); in hashCode()
604 if (!other.getAuthority().isEmpty()) { in mergeFrom()
902 public java.lang.String getAuthority() { in getAuthority() method in ClientHeader.Builder
972 authority_ = getDefaultInstance().getAuthority(); in clearAuthority()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUriTest.java18 assertThat(testUri.getAuthority()).isEqualTo("someplace.com:8080"); in shouldParseUris()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DGrpcHttp2ConnectionHandler.java93 public String getAuthority() { in getAuthority() method in GrpcHttp2ConnectionHandler
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessChannelBuilder.java177 return new InProcessTransport(name, options.getAuthority(), options.getUserAgent()); in newClientTransport()

123