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
Modifier and TypeMethodDescriptiongetBody()This field allows the authorization service to send a response body data to the downstream client.com.google.protobuf.ByteStringThis field allows the authorization service to send a response body data to the downstream client.getHeaders(int index) This field allows the authorization service to send HTTP response headers to the downstream client.intThis field allows the authorization service to send HTTP response headers to the downstream client.This field allows the authorization service to send HTTP response headers to the downstream client.getHeadersOrBuilder(int index) This field allows the authorization service to send HTTP response headers to the downstream client.List<? extends HeaderValueOptionOrBuilder>This field allows the authorization service to send HTTP response headers to the downstream client.This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).booleanThis field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStatus
boolean hasStatus()This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).
.envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }- Returns:
- Whether the status field is set.
-
getStatus
HttpStatus getStatus()This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).
.envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }- Returns:
- The status.
-
getStatusOrBuilder
HttpStatusOrBuilder getStatusOrBuilder()This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).
.envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... } -
getHeadersList
List<HeaderValueOption> getHeadersList()This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2; -
getHeaders
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2; -
getHeadersCount
int getHeadersCount()This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.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 `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.HeaderValueOption headers = 2; -
getHeadersOrBuilder
This field allows the authorization service to send HTTP response headers to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to false when used in this message.
repeated .envoy.api.v2.core.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.
-