public interface DirectResponseActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getBody()
Specifies the content of the response body.
|
DataSourceOrBuilder |
getBodyOrBuilder()
Specifies the content of the response body.
|
int |
getStatus()
Specifies the HTTP response status to be returned.
|
boolean |
hasBody()
Specifies the content of the response body.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getStatus()
Specifies the HTTP response status to be returned.
uint32 status = 1 [(.validate.rules) = { ... }boolean hasBody()
Specifies the content of the response body. If this setting is omitted, no body is included in the generated response. .. note:: Headers can be specified using *response_headers_to_add* in the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.RouteConfiguration` or :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`.
.envoy.config.core.v4alpha.DataSource body = 2;DataSource getBody()
Specifies the content of the response body. If this setting is omitted, no body is included in the generated response. .. note:: Headers can be specified using *response_headers_to_add* in the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.RouteConfiguration` or :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`.
.envoy.config.core.v4alpha.DataSource body = 2;DataSourceOrBuilder getBodyOrBuilder()
Specifies the content of the response body. If this setting is omitted, no body is included in the generated response. .. note:: Headers can be specified using *response_headers_to_add* in the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.RouteConfiguration` or :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`.
.envoy.config.core.v4alpha.DataSource body = 2;Copyright © 2018–2021 The Envoy Project. All rights reserved.