Interface ProcessingRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProcessingRequest,ProcessingRequest.Builder
public interface ProcessingRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetAsyncMode()Specify whether the filter that sent this request is running in synchronous or asynchronous mode.HttpBodygetRequestBody()A chunk of the HTTP request body.HttpBodyOrBuildergetRequestBodyOrBuilder()A chunk of the HTTP request body.ProcessingRequest.RequestCasegetRequestCase()HttpHeadersgetRequestHeaders()Information about the HTTP request headers, as well as peer info and additional properties.HttpHeadersOrBuildergetRequestHeadersOrBuilder()Information about the HTTP request headers, as well as peer info and additional properties.HttpTrailersgetRequestTrailers()The HTTP trailers for the request path.HttpTrailersOrBuildergetRequestTrailersOrBuilder()The HTTP trailers for the request path.HttpBodygetResponseBody()A chunk of the HTTP request body.HttpBodyOrBuildergetResponseBodyOrBuilder()A chunk of the HTTP request body.HttpHeadersgetResponseHeaders()Information about the HTTP response headers, as well as peer info and additional properties.HttpHeadersOrBuildergetResponseHeadersOrBuilder()Information about the HTTP response headers, as well as peer info and additional properties.HttpTrailersgetResponseTrailers()The HTTP trailers for the response path.HttpTrailersOrBuildergetResponseTrailersOrBuilder()The HTTP trailers for the response path.booleanhasRequestBody()A chunk of the HTTP request body.booleanhasRequestHeaders()Information about the HTTP request headers, as well as peer info and additional properties.booleanhasRequestTrailers()The HTTP trailers for the request path.booleanhasResponseBody()A chunk of the HTTP request body.booleanhasResponseHeaders()Information about the HTTP response headers, as well as peer info and additional properties.booleanhasResponseTrailers()The HTTP trailers for the response path.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAsyncMode
boolean getAsyncMode()
Specify whether the filter that sent this request is running in synchronous or asynchronous mode. The choice of synchronous or asynchronous mode can be set in the filter configuration, and defaults to false. * A value of ``false`` indicates that the server must respond to this message by either sending back a matching ProcessingResponse message, or by closing the stream. * A value of ``true`` indicates that the server must not respond to this message, although it may still close the stream to indicate that no more messages are needed.
bool async_mode = 1;- Returns:
- The asyncMode.
-
hasRequestHeaders
boolean hasRequestHeaders()
Information about the HTTP request headers, as well as peer info and additional properties. Unless ``async_mode`` is ``true``, the server must send back a HeaderResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders request_headers = 2;- Returns:
- Whether the requestHeaders field is set.
-
getRequestHeaders
HttpHeaders getRequestHeaders()
Information about the HTTP request headers, as well as peer info and additional properties. Unless ``async_mode`` is ``true``, the server must send back a HeaderResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders request_headers = 2;- Returns:
- The requestHeaders.
-
getRequestHeadersOrBuilder
HttpHeadersOrBuilder getRequestHeadersOrBuilder()
Information about the HTTP request headers, as well as peer info and additional properties. Unless ``async_mode`` is ``true``, the server must send back a HeaderResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders request_headers = 2;
-
hasResponseHeaders
boolean hasResponseHeaders()
Information about the HTTP response headers, as well as peer info and additional properties. Unless ``async_mode`` is ``true``, the server must send back a HeaderResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders response_headers = 3;- Returns:
- Whether the responseHeaders field is set.
-
getResponseHeaders
HttpHeaders getResponseHeaders()
Information about the HTTP response headers, as well as peer info and additional properties. Unless ``async_mode`` is ``true``, the server must send back a HeaderResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders response_headers = 3;- Returns:
- The responseHeaders.
-
getResponseHeadersOrBuilder
HttpHeadersOrBuilder getResponseHeadersOrBuilder()
Information about the HTTP response headers, as well as peer info and additional properties. Unless ``async_mode`` is ``true``, the server must send back a HeaderResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders response_headers = 3;
-
hasRequestBody
boolean hasRequestBody()
A chunk of the HTTP request body. Unless ``async_mode`` is true, the server must send back a BodyResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpBody request_body = 4;- Returns:
- Whether the requestBody field is set.
-
getRequestBody
HttpBody getRequestBody()
A chunk of the HTTP request body. Unless ``async_mode`` is true, the server must send back a BodyResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpBody request_body = 4;- Returns:
- The requestBody.
-
getRequestBodyOrBuilder
HttpBodyOrBuilder getRequestBodyOrBuilder()
A chunk of the HTTP request body. Unless ``async_mode`` is true, the server must send back a BodyResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpBody request_body = 4;
-
hasResponseBody
boolean hasResponseBody()
A chunk of the HTTP request body. Unless ``async_mode`` is ``true``, the server must send back a BodyResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpBody response_body = 5;- Returns:
- Whether the responseBody field is set.
-
getResponseBody
HttpBody getResponseBody()
A chunk of the HTTP request body. Unless ``async_mode`` is ``true``, the server must send back a BodyResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpBody response_body = 5;- Returns:
- The responseBody.
-
getResponseBodyOrBuilder
HttpBodyOrBuilder getResponseBodyOrBuilder()
A chunk of the HTTP request body. Unless ``async_mode`` is ``true``, the server must send back a BodyResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpBody response_body = 5;
-
hasRequestTrailers
boolean hasRequestTrailers()
The HTTP trailers for the request path. Unless ``async_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND``. If there are no trailers on the original downstream request, then this message will only be sent (with empty trailers waiting to be populated) if the processing mode is set before the request headers are sent, such as in the filter configuration.
.envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6;- Returns:
- Whether the requestTrailers field is set.
-
getRequestTrailers
HttpTrailers getRequestTrailers()
The HTTP trailers for the request path. Unless ``async_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND``. If there are no trailers on the original downstream request, then this message will only be sent (with empty trailers waiting to be populated) if the processing mode is set before the request headers are sent, such as in the filter configuration.
.envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6;- Returns:
- The requestTrailers.
-
getRequestTrailersOrBuilder
HttpTrailersOrBuilder getRequestTrailersOrBuilder()
The HTTP trailers for the request path. Unless ``async_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND``. If there are no trailers on the original downstream request, then this message will only be sent (with empty trailers waiting to be populated) if the processing mode is set before the request headers are sent, such as in the filter configuration.
.envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6;
-
hasResponseTrailers
boolean hasResponseTrailers()
The HTTP trailers for the response path. Unless ``async_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND``. If there are no trailers on the original downstream request, then this message will only be sent (with empty trailers waiting to be populated) if the processing mode is set before the request headers are sent, such as in the filter configuration.
.envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7;- Returns:
- Whether the responseTrailers field is set.
-
getResponseTrailers
HttpTrailers getResponseTrailers()
The HTTP trailers for the response path. Unless ``async_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND``. If there are no trailers on the original downstream request, then this message will only be sent (with empty trailers waiting to be populated) if the processing mode is set before the request headers are sent, such as in the filter configuration.
.envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7;- Returns:
- The responseTrailers.
-
getResponseTrailersOrBuilder
HttpTrailersOrBuilder getResponseTrailersOrBuilder()
The HTTP trailers for the response path. Unless ``async_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND``. If there are no trailers on the original downstream request, then this message will only be sent (with empty trailers waiting to be populated) if the processing mode is set before the request headers are sent, such as in the filter configuration.
.envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7;
-
getRequestCase
ProcessingRequest.RequestCase getRequestCase()
-
-