public abstract class Response extends Object
Response is a data class that contains the response for an assumed configuration type.| Constructor and Description |
|---|
Response() |
| Modifier and Type | Method and Description |
|---|---|
static Response |
create(Discovery.DiscoveryRequest request,
Collection<? extends Message> resources,
String version) |
abstract Discovery.DiscoveryRequest |
request()
Returns the original request associated with the response.
|
abstract Collection<? extends Message> |
resources()
Returns the resources to include in the response.
|
abstract String |
version()
Returns the version of the resources as tracked by the cache for the given type.
|
public static Response create(Discovery.DiscoveryRequest request, Collection<? extends Message> resources, String version)
public abstract Discovery.DiscoveryRequest request()
public abstract Collection<? extends Message> resources()
public abstract String version()
Copyright © 2018 The Envoy Project. All rights reserved.