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 a HTTP response status code to the downstream client other than 403 (Forbidden).HttpStatusOrBuildergetStatusOrBuilder()This field allows the authorization service to send a HTTP response status code to the downstream client other than 403 (Forbidden).booleanhasStatus()This 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.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 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
HeaderValueOption getHeaders(int index)
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
HeaderValueOptionOrBuilder getHeadersOrBuilder(int index)
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.
-
-