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 Type
    Method
    Description
    This field allows the authorization service to send a response body data to the downstream client.
    com.google.protobuf.ByteString
    This 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.
    int
    This 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.
    This 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.
    This field allows the authorization service to send an HTTP response status code to the downstream client.
    This field allows the authorization service to send an HTTP response status code to the downstream client.
    boolean
    This field allows the authorization service to send an HTTP response status code to the downstream client.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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 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.