Interface DeniedHttpResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeniedHttpResponse,DeniedHttpResponse.Builder
public interface DeniedHttpResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBody()This field allows the authorization service to send a response body data to the downstream client.com.google.protobuf.ByteStringgetBodyBytes()This field allows the authorization service to send a response body data to the downstream client.HeaderValueOptiongetHeaders(int index)This field allows the authorization service to send HTTP response headers to the downstream client.intgetHeadersCount()This field allows the authorization service to send HTTP response headers to the downstream client.List<HeaderValueOption>getHeadersList()This field allows the authorization service to send HTTP response headers to the downstream client.HeaderValueOptionOrBuildergetHeadersOrBuilder(int index)This field allows the authorization service to send HTTP response headers to the downstream client.List<? extends HeaderValueOptionOrBuilder>getHeadersOrBuilderList()This field allows the authorization service to send HTTP response headers to the downstream client.HttpStatusgetStatus()This field allows the authorization service to send an HTTP response status code to the downstream client.HttpStatusOrBuildergetStatusOrBuilder()This field allows the authorization service to send an HTTP response status code to the downstream client.booleanhasStatus()This field allows the authorization service to send an HTTP response status code to the downstream client.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStatus
boolean hasStatus()
This field allows the authorization service to send an HTTP response status code to the downstream client. If not set, Envoy sends ``403 Forbidden`` HTTP status code by default.
.envoy.type.v3.HttpStatus status = 1;- Returns:
- Whether the status field is set.
-
getStatus
HttpStatus getStatus()
This field allows the authorization service to send an HTTP response status code to the downstream client. If not set, Envoy sends ``403 Forbidden`` HTTP status code by default.
.envoy.type.v3.HttpStatus status = 1;- Returns:
- The status.
-
getStatusOrBuilder
HttpStatusOrBuilder getStatusOrBuilder()
This field allows the authorization service to send an HTTP response status code to the downstream client. If not set, Envoy sends ``403 Forbidden`` HTTP status code by default.
.envoy.type.v3.HttpStatus status = 1;
-
getHeadersList
List<HeaderValueOption> getHeadersList()
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message.
repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
-
getHeaders
HeaderValueOption getHeaders(int index)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message.
repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
-
getHeadersCount
int getHeadersCount()
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message.
repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
-
getHeadersOrBuilderList
List<? extends HeaderValueOptionOrBuilder> getHeadersOrBuilderList()
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message.
repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
-
getHeadersOrBuilder
HeaderValueOptionOrBuilder getHeadersOrBuilder(int index)
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to false when used in this message.
repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
-
getBody
String getBody()
This field allows the authorization service to send a response body data to the downstream client.
string body = 3;- Returns:
- The body.
-
getBodyBytes
com.google.protobuf.ByteString getBodyBytes()
This field allows the authorization service to send a response body data to the downstream client.
string body = 3;- Returns:
- The bytes for body.
-
-