Class VirtualHostDiscoveryService

  • All Implemented Interfaces:
    com.google.protobuf.Service
    Direct Known Subclasses:
    VirtualHostDiscoveryService.Stub

    public abstract class VirtualHostDiscoveryService
    extends Object
    implements com.google.protobuf.Service
     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_api_field_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_api_field_route.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.
     
    Protobuf service envoy.api.v2.VirtualHostDiscoveryService
    • Constructor Detail

      • VirtualHostDiscoveryService

        protected VirtualHostDiscoveryService()
    • Method Detail

      • deltaVirtualHosts

        public abstract void deltaVirtualHosts​(com.google.protobuf.RpcController controller,
                                               DeltaDiscoveryRequest request,
                                               com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)
        rpc DeltaVirtualHosts(stream .envoy.api.v2.DeltaDiscoveryRequest) returns (stream .envoy.api.v2.DeltaDiscoveryResponse);
      • getDescriptor

        public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Service
      • callMethod

        public final void callMethod​(com.google.protobuf.Descriptors.MethodDescriptor method,
                                     com.google.protobuf.RpcController controller,
                                     com.google.protobuf.Message request,
                                     com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
        Specified by:
        callMethod in interface com.google.protobuf.Service
      • getRequestPrototype

        public final com.google.protobuf.Message getRequestPrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getRequestPrototype in interface com.google.protobuf.Service
      • getResponsePrototype

        public final com.google.protobuf.Message getResponsePrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getResponsePrototype in interface com.google.protobuf.Service