public static final class HttpService.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HttpService.Builder> implements HttpServiceOrBuilder
HttpService is used for raw HTTP communication between the filter and the authorization service. When configured, the filter will parse the client request and use these attributes to call the authorization server. Depending on the response, the filter may reject or accept the client request. Note that in any of these events, metadata can be added, removed or overridden by the filter: *On authorization request*, a list of allowed request headers may be supplied. See :ref:`allowed_headers <envoy_api_field_extensions.filters.http.ext_authz.v4alpha.AuthorizationRequest.allowed_headers>` for details. Additional headers metadata may be added to the authorization request. See :ref:`headers_to_add <envoy_api_field_extensions.filters.http.ext_authz.v4alpha.AuthorizationRequest.headers_to_add>` for details. On authorization response status HTTP 200 OK, the filter will allow traffic to the upstream and additional headers metadata may be added to the original client request. See :ref:`allowed_upstream_headers <envoy_api_field_extensions.filters.http.ext_authz.v4alpha.AuthorizationResponse.allowed_upstream_headers>` for details. On other authorization response statuses, the filter will not allow traffic. Additional headers metadata as well as body may be added to the client's response. See :ref:`allowed_client_headers <envoy_api_field_extensions.filters.http.ext_authz.v4alpha.AuthorizationResponse.allowed_client_headers>` for details. [#next-free-field: 9]Protobuf type
envoy.extensions.filters.http.ext_authz.v4alpha.HttpService| Modifier and Type | Method and Description |
|---|---|
HttpService.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HttpService |
build() |
HttpService |
buildPartial() |
HttpService.Builder |
clear() |
HttpService.Builder |
clearAuthorizationRequest()
Settings used for controlling authorization request metadata.
|
HttpService.Builder |
clearAuthorizationResponse()
Settings used for controlling authorization response metadata.
|
HttpService.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HttpService.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HttpService.Builder |
clearPathPrefix()
Sets a prefix to the value of authorization request header *Path*.
|
HttpService.Builder |
clearServerUri()
Sets the HTTP server URI which the authorization requests must be sent to.
|
HttpService.Builder |
clone() |
AuthorizationRequest |
getAuthorizationRequest()
Settings used for controlling authorization request metadata.
|
AuthorizationRequest.Builder |
getAuthorizationRequestBuilder()
Settings used for controlling authorization request metadata.
|
AuthorizationRequestOrBuilder |
getAuthorizationRequestOrBuilder()
Settings used for controlling authorization request metadata.
|
AuthorizationResponse |
getAuthorizationResponse()
Settings used for controlling authorization response metadata.
|
AuthorizationResponse.Builder |
getAuthorizationResponseBuilder()
Settings used for controlling authorization response metadata.
|
AuthorizationResponseOrBuilder |
getAuthorizationResponseOrBuilder()
Settings used for controlling authorization response metadata.
|
HttpService |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPathPrefix()
Sets a prefix to the value of authorization request header *Path*.
|
com.google.protobuf.ByteString |
getPathPrefixBytes()
Sets a prefix to the value of authorization request header *Path*.
|
HttpUri |
getServerUri()
Sets the HTTP server URI which the authorization requests must be sent to.
|
HttpUri.Builder |
getServerUriBuilder()
Sets the HTTP server URI which the authorization requests must be sent to.
|
HttpUriOrBuilder |
getServerUriOrBuilder()
Sets the HTTP server URI which the authorization requests must be sent to.
|
boolean |
hasAuthorizationRequest()
Settings used for controlling authorization request metadata.
|
boolean |
hasAuthorizationResponse()
Settings used for controlling authorization response metadata.
|
boolean |
hasServerUri()
Sets the HTTP server URI which the authorization requests must be sent to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HttpService.Builder |
mergeAuthorizationRequest(AuthorizationRequest value)
Settings used for controlling authorization request metadata.
|
HttpService.Builder |
mergeAuthorizationResponse(AuthorizationResponse value)
Settings used for controlling authorization response metadata.
|
HttpService.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HttpService.Builder |
mergeFrom(HttpService other) |
HttpService.Builder |
mergeFrom(com.google.protobuf.Message other) |
HttpService.Builder |
mergeServerUri(HttpUri value)
Sets the HTTP server URI which the authorization requests must be sent to.
|
HttpService.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HttpService.Builder |
setAuthorizationRequest(AuthorizationRequest.Builder builderForValue)
Settings used for controlling authorization request metadata.
|
HttpService.Builder |
setAuthorizationRequest(AuthorizationRequest value)
Settings used for controlling authorization request metadata.
|
HttpService.Builder |
setAuthorizationResponse(AuthorizationResponse.Builder builderForValue)
Settings used for controlling authorization response metadata.
|
HttpService.Builder |
setAuthorizationResponse(AuthorizationResponse value)
Settings used for controlling authorization response metadata.
|
HttpService.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HttpService.Builder |
setPathPrefix(String value)
Sets a prefix to the value of authorization request header *Path*.
|
HttpService.Builder |
setPathPrefixBytes(com.google.protobuf.ByteString value)
Sets a prefix to the value of authorization request header *Path*.
|
HttpService.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HttpService.Builder |
setServerUri(HttpUri.Builder builderForValue)
Sets the HTTP server URI which the authorization requests must be sent to.
|
HttpService.Builder |
setServerUri(HttpUri value)
Sets the HTTP server URI which the authorization requests must be sent to.
|
HttpService.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HttpService.Builder>public HttpService.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HttpService.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HttpService.Builder>public HttpService getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HttpService build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HttpService buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HttpService.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HttpService.Builder>public HttpService.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpService.Builder>public HttpService.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpService.Builder>public HttpService.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HttpService.Builder>public HttpService.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpService.Builder>public HttpService.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpService.Builder>public HttpService.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpService.Builder>public HttpService.Builder mergeFrom(HttpService other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HttpService.Builder>public HttpService.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpService.Builder>IOExceptionpublic boolean hasServerUri()
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.config.core.v4alpha.HttpUri server_uri = 1;hasServerUri in interface HttpServiceOrBuilderpublic HttpUri getServerUri()
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.config.core.v4alpha.HttpUri server_uri = 1;getServerUri in interface HttpServiceOrBuilderpublic HttpService.Builder setServerUri(HttpUri value)
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.config.core.v4alpha.HttpUri server_uri = 1;public HttpService.Builder setServerUri(HttpUri.Builder builderForValue)
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.config.core.v4alpha.HttpUri server_uri = 1;public HttpService.Builder mergeServerUri(HttpUri value)
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.config.core.v4alpha.HttpUri server_uri = 1;public HttpService.Builder clearServerUri()
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.config.core.v4alpha.HttpUri server_uri = 1;public HttpUri.Builder getServerUriBuilder()
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.config.core.v4alpha.HttpUri server_uri = 1;public HttpUriOrBuilder getServerUriOrBuilder()
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.config.core.v4alpha.HttpUri server_uri = 1;getServerUriOrBuilder in interface HttpServiceOrBuilderpublic String getPathPrefix()
Sets a prefix to the value of authorization request header *Path*.
string path_prefix = 2;getPathPrefix in interface HttpServiceOrBuilderpublic com.google.protobuf.ByteString getPathPrefixBytes()
Sets a prefix to the value of authorization request header *Path*.
string path_prefix = 2;getPathPrefixBytes in interface HttpServiceOrBuilderpublic HttpService.Builder setPathPrefix(String value)
Sets a prefix to the value of authorization request header *Path*.
string path_prefix = 2;public HttpService.Builder clearPathPrefix()
Sets a prefix to the value of authorization request header *Path*.
string path_prefix = 2;public HttpService.Builder setPathPrefixBytes(com.google.protobuf.ByteString value)
Sets a prefix to the value of authorization request header *Path*.
string path_prefix = 2;public boolean hasAuthorizationRequest()
Settings used for controlling authorization request metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationRequest authorization_request = 7;hasAuthorizationRequest in interface HttpServiceOrBuilderpublic AuthorizationRequest getAuthorizationRequest()
Settings used for controlling authorization request metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationRequest authorization_request = 7;getAuthorizationRequest in interface HttpServiceOrBuilderpublic HttpService.Builder setAuthorizationRequest(AuthorizationRequest value)
Settings used for controlling authorization request metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationRequest authorization_request = 7;public HttpService.Builder setAuthorizationRequest(AuthorizationRequest.Builder builderForValue)
Settings used for controlling authorization request metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationRequest authorization_request = 7;public HttpService.Builder mergeAuthorizationRequest(AuthorizationRequest value)
Settings used for controlling authorization request metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationRequest authorization_request = 7;public HttpService.Builder clearAuthorizationRequest()
Settings used for controlling authorization request metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationRequest authorization_request = 7;public AuthorizationRequest.Builder getAuthorizationRequestBuilder()
Settings used for controlling authorization request metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationRequest authorization_request = 7;public AuthorizationRequestOrBuilder getAuthorizationRequestOrBuilder()
Settings used for controlling authorization request metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationRequest authorization_request = 7;getAuthorizationRequestOrBuilder in interface HttpServiceOrBuilderpublic boolean hasAuthorizationResponse()
Settings used for controlling authorization response metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationResponse authorization_response = 8;hasAuthorizationResponse in interface HttpServiceOrBuilderpublic AuthorizationResponse getAuthorizationResponse()
Settings used for controlling authorization response metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationResponse authorization_response = 8;getAuthorizationResponse in interface HttpServiceOrBuilderpublic HttpService.Builder setAuthorizationResponse(AuthorizationResponse value)
Settings used for controlling authorization response metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationResponse authorization_response = 8;public HttpService.Builder setAuthorizationResponse(AuthorizationResponse.Builder builderForValue)
Settings used for controlling authorization response metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationResponse authorization_response = 8;public HttpService.Builder mergeAuthorizationResponse(AuthorizationResponse value)
Settings used for controlling authorization response metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationResponse authorization_response = 8;public HttpService.Builder clearAuthorizationResponse()
Settings used for controlling authorization response metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationResponse authorization_response = 8;public AuthorizationResponse.Builder getAuthorizationResponseBuilder()
Settings used for controlling authorization response metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationResponse authorization_response = 8;public AuthorizationResponseOrBuilder getAuthorizationResponseOrBuilder()
Settings used for controlling authorization response metadata.
.envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationResponse authorization_response = 8;getAuthorizationResponseOrBuilder in interface HttpServiceOrBuilderpublic final HttpService.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpService.Builder>public final HttpService.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpService.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.