Interface CommonResponseOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CommonResponse, CommonResponse.Builder

    public interface CommonResponseOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getStatusValue

        int getStatusValue()
         If set, provide additional direction on how the Envoy proxy should
         handle the rest of the HTTP filter chain.
         
        .envoy.service.ext_proc.v3.CommonResponse.ResponseStatus status = 1 [(.validate.rules) = { ... }
        Returns:
        The enum numeric value on the wire for status.
      • getStatus

        CommonResponse.ResponseStatus getStatus()
         If set, provide additional direction on how the Envoy proxy should
         handle the rest of the HTTP filter chain.
         
        .envoy.service.ext_proc.v3.CommonResponse.ResponseStatus status = 1 [(.validate.rules) = { ... }
        Returns:
        The status.
      • hasHeaderMutation

        boolean hasHeaderMutation()
         Instructions on how to manipulate the headers. When responding to an
         HttpBody request, header mutations will only take effect if
         the current processing mode for the body is BUFFERED.
         
        .envoy.service.ext_proc.v3.HeaderMutation header_mutation = 2;
        Returns:
        Whether the headerMutation field is set.
      • getHeaderMutation

        HeaderMutation getHeaderMutation()
         Instructions on how to manipulate the headers. When responding to an
         HttpBody request, header mutations will only take effect if
         the current processing mode for the body is BUFFERED.
         
        .envoy.service.ext_proc.v3.HeaderMutation header_mutation = 2;
        Returns:
        The headerMutation.
      • getHeaderMutationOrBuilder

        HeaderMutationOrBuilder getHeaderMutationOrBuilder()
         Instructions on how to manipulate the headers. When responding to an
         HttpBody request, header mutations will only take effect if
         the current processing mode for the body is BUFFERED.
         
        .envoy.service.ext_proc.v3.HeaderMutation header_mutation = 2;
      • hasBodyMutation

        boolean hasBodyMutation()
         Replace the body of the last message sent to the remote server on this
         stream. If responding to an HttpBody request, simply replace or clear
         the body chunk that was sent with that request. Body mutations only take
         effect in response to ``body`` messages and are ignored otherwise.
         
        .envoy.service.ext_proc.v3.BodyMutation body_mutation = 3;
        Returns:
        Whether the bodyMutation field is set.
      • getBodyMutation

        BodyMutation getBodyMutation()
         Replace the body of the last message sent to the remote server on this
         stream. If responding to an HttpBody request, simply replace or clear
         the body chunk that was sent with that request. Body mutations only take
         effect in response to ``body`` messages and are ignored otherwise.
         
        .envoy.service.ext_proc.v3.BodyMutation body_mutation = 3;
        Returns:
        The bodyMutation.
      • getBodyMutationOrBuilder

        BodyMutationOrBuilder getBodyMutationOrBuilder()
         Replace the body of the last message sent to the remote server on this
         stream. If responding to an HttpBody request, simply replace or clear
         the body chunk that was sent with that request. Body mutations only take
         effect in response to ``body`` messages and are ignored otherwise.
         
        .envoy.service.ext_proc.v3.BodyMutation body_mutation = 3;
      • hasTrailers

        boolean hasTrailers()
         [#not-implemented-hide:]
         Add new trailers to the message. This may be used when responding to either a
         HttpHeaders or HttpBody message, but only if this message is returned
         along with the CONTINUE_AND_REPLACE status.
         
        .envoy.config.core.v3.HeaderMap trailers = 4;
        Returns:
        Whether the trailers field is set.
      • getTrailers

        HeaderMap getTrailers()
         [#not-implemented-hide:]
         Add new trailers to the message. This may be used when responding to either a
         HttpHeaders or HttpBody message, but only if this message is returned
         along with the CONTINUE_AND_REPLACE status.
         
        .envoy.config.core.v3.HeaderMap trailers = 4;
        Returns:
        The trailers.
      • getTrailersOrBuilder

        HeaderMapOrBuilder getTrailersOrBuilder()
         [#not-implemented-hide:]
         Add new trailers to the message. This may be used when responding to either a
         HttpHeaders or HttpBody message, but only if this message is returned
         along with the CONTINUE_AND_REPLACE status.
         
        .envoy.config.core.v3.HeaderMap trailers = 4;
      • getClearRouteCache

        boolean getClearRouteCache()
         Clear the route cache for the current request.
         This is necessary if the remote server
         modified headers that are used to calculate the route.
         
        bool clear_route_cache = 5;
        Returns:
        The clearRouteCache.