Package io.envoyproxy.envoy.api.v2
Class RouteDiscoveryServiceGrpc.RouteDiscoveryServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<RouteDiscoveryServiceGrpc.RouteDiscoveryServiceFutureStub>
io.envoyproxy.envoy.api.v2.RouteDiscoveryServiceGrpc.RouteDiscoveryServiceFutureStub
- Enclosing class:
- RouteDiscoveryServiceGrpc
public static final class RouteDiscoveryServiceGrpc.RouteDiscoveryServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<RouteDiscoveryServiceGrpc.RouteDiscoveryServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service RouteDiscoveryService.
The resource_names field in DiscoveryRequest specifies a route configuration. This allows an Envoy configuration with multiple HTTP listeners (and associated HTTP connection manager filters) to use different route configurations. Each listener will bind its HTTP connection manager filter to a route table via this identifier.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<DiscoveryResponse>fetchRoutes(DiscoveryRequest request) Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected RouteDiscoveryServiceGrpc.RouteDiscoveryServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<RouteDiscoveryServiceGrpc.RouteDiscoveryServiceFutureStub>
-
fetchRoutes
public com.google.common.util.concurrent.ListenableFuture<DiscoveryResponse> fetchRoutes(DiscoveryRequest request)
-