public interface CommonResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
BodyMutation |
getBodyMutation()
Replace the body of the last message sent to the remote server on this
stream.
|
BodyMutationOrBuilder |
getBodyMutationOrBuilder()
Replace the body of the last message sent to the remote server on this
stream.
|
boolean |
getClearRouteCache()
Clear the route cache for the current request.
|
HeaderMutation |
getHeaderMutation()
Instructions on how to manipulate the headers.
|
HeaderMutationOrBuilder |
getHeaderMutationOrBuilder()
Instructions on how to manipulate the headers.
|
CommonResponse.ResponseStatus |
getStatus()
If set, provide additional direction on how the Envoy proxy should
handle the rest of the HTTP filter chain.
|
int |
getStatusValue()
If set, provide additional direction on how the Envoy proxy should
handle the rest of the HTTP filter chain.
|
HeaderMap |
getTrailers()
Add new trailers to the message.
|
HeaderMapOrBuilder |
getTrailersOrBuilder()
Add new trailers to the message.
|
boolean |
hasBodyMutation()
Replace the body of the last message sent to the remote server on this
stream.
|
boolean |
hasHeaderMutation()
Instructions on how to manipulate the headers.
|
boolean |
hasTrailers()
Add new trailers to the message.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getStatusValue()
If set, provide additional direction on how the Envoy proxy should handle the rest of the HTTP filter chain.
.envoy.service.ext_proc.v3alpha.CommonResponse.ResponseStatus status = 1 [(.validate.rules) = { ... }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.v3alpha.CommonResponse.ResponseStatus status = 1 [(.validate.rules) = { ... }boolean hasHeaderMutation()
Instructions on how to manipulate the headers. When responding to an HttpBody request, header mutations will only take effect if the headers were not already sent further on the filter chain, which happens only if the current processing mode for the body is BUFFERED or BUFFERED_PARTIAL.
.envoy.service.ext_proc.v3alpha.HeaderMutation header_mutation = 2;HeaderMutation getHeaderMutation()
Instructions on how to manipulate the headers. When responding to an HttpBody request, header mutations will only take effect if the headers were not already sent further on the filter chain, which happens only if the current processing mode for the body is BUFFERED or BUFFERED_PARTIAL.
.envoy.service.ext_proc.v3alpha.HeaderMutation header_mutation = 2;HeaderMutationOrBuilder getHeaderMutationOrBuilder()
Instructions on how to manipulate the headers. When responding to an HttpBody request, header mutations will only take effect if the headers were not already sent further on the filter chain, which happens only if the current processing mode for the body is BUFFERED or BUFFERED_PARTIAL.
.envoy.service.ext_proc.v3alpha.HeaderMutation header_mutation = 2;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. If responding to an HttpHeaders request, then a new body may be added to the request if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.service.ext_proc.v3alpha.BodyMutation body_mutation = 3;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. If responding to an HttpHeaders request, then a new body may be added to the request if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.service.ext_proc.v3alpha.BodyMutation body_mutation = 3;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. If responding to an HttpHeaders request, then a new body may be added to the request if this message is returned along with the CONTINUE_AND_REPLACE status.
.envoy.service.ext_proc.v3alpha.BodyMutation body_mutation = 3;boolean hasTrailers()
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;HeaderMap getTrailers()
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;HeaderMapOrBuilder getTrailersOrBuilder()
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;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;Copyright © 2018–2021 The Envoy Project. All rights reserved.