Class VirtualHostDiscoveryServiceGrpc.VirtualHostDiscoveryServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<VirtualHostDiscoveryServiceGrpc.VirtualHostDiscoveryServiceStub>
io.envoyproxy.envoy.service.route.v3.VirtualHostDiscoveryServiceGrpc.VirtualHostDiscoveryServiceStub
Enclosing class:
VirtualHostDiscoveryServiceGrpc

public static final class VirtualHostDiscoveryServiceGrpc.VirtualHostDiscoveryServiceStub extends io.grpc.stub.AbstractAsyncStub<VirtualHostDiscoveryServiceGrpc.VirtualHostDiscoveryServiceStub>
A stub to allow clients to do asynchronous rpc calls to service VirtualHostDiscoveryService.
 Virtual Host Discovery Service (VHDS) is used to dynamically update the list of virtual hosts for
 a given RouteConfiguration. If VHDS is configured a virtual host list update will be triggered
 during the processing of an HTTP request if a route for the request cannot be resolved. The
 :ref:`resource_names_subscribe <envoy_v3_api_field_service.discovery.v3.DeltaDiscoveryRequest.resource_names_subscribe>`
 field contains a list of virtual host names or aliases to track. The contents of an alias would
 be the contents of a ``host`` or ``authority`` header used to make an http request. An xDS server
 will match an alias to a virtual host based on the content of :ref:`domains'
 <envoy_v3_api_field_config.route.v3.VirtualHost.domains>` field. The ``resource_names_unsubscribe`` field
 contains a list of virtual host names that have been :ref:`unsubscribed
 <xds_protocol_unsubscribe>` from the routing table associated with the RouteConfiguration.
 
  • 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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    io.grpc.stub.StreamObserver<DeltaDiscoveryRequest>
    deltaVirtualHosts(io.grpc.stub.StreamObserver<DeltaDiscoveryResponse> responseObserver)
     

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait