public final class HttpService extends com.google.protobuf.GeneratedMessageV3 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.v3.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.v3.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.v3.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.v3.AuthorizationResponse.allowed_client_headers>` for details. [#next-free-field: 9]Protobuf type
envoy.extensions.filters.http.ext_authz.v3.HttpService| Modifier and Type | Class and Description |
|---|---|
static class |
HttpService.Builder
HttpService is used for raw HTTP communication between the filter and the authorization service.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AUTHORIZATION_REQUEST_FIELD_NUMBER |
static int |
AUTHORIZATION_RESPONSE_FIELD_NUMBER |
static int |
PATH_PREFIX_FIELD_NUMBER |
static int |
SERVER_URI_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AuthorizationRequest |
getAuthorizationRequest()
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.
|
AuthorizationResponseOrBuilder |
getAuthorizationResponseOrBuilder()
Settings used for controlling authorization response metadata.
|
static HttpService |
getDefaultInstance() |
HttpService |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<HttpService> |
getParserForType() |
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*.
|
int |
getSerializedSize() |
HttpUri |
getServerUri()
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAuthorizationRequest()
Settings used for controlling authorization request metadata.
|
boolean |
hasAuthorizationResponse()
Settings used for controlling authorization response metadata.
|
int |
hashCode() |
boolean |
hasServerUri()
Sets the HTTP server URI which the authorization requests must be sent to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HttpService.Builder |
newBuilder() |
static HttpService.Builder |
newBuilder(HttpService prototype) |
HttpService.Builder |
newBuilderForType() |
protected HttpService.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static HttpService |
parseDelimitedFrom(InputStream input) |
static HttpService |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpService |
parseFrom(byte[] data) |
static HttpService |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpService |
parseFrom(ByteBuffer data) |
static HttpService |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpService |
parseFrom(com.google.protobuf.ByteString data) |
static HttpService |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpService |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HttpService |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpService |
parseFrom(InputStream input) |
static HttpService |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HttpService> |
parser() |
HttpService.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SERVER_URI_FIELD_NUMBER
public static final int PATH_PREFIX_FIELD_NUMBER
public static final int AUTHORIZATION_REQUEST_FIELD_NUMBER
public static final int AUTHORIZATION_RESPONSE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasServerUri()
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.config.core.v3.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.v3.HttpUri server_uri = 1;getServerUri in interface HttpServiceOrBuilderpublic HttpUriOrBuilder getServerUriOrBuilder()
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.config.core.v3.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 boolean hasAuthorizationRequest()
Settings used for controlling authorization request metadata.
.envoy.extensions.filters.http.ext_authz.v3.AuthorizationRequest authorization_request = 7;hasAuthorizationRequest in interface HttpServiceOrBuilderpublic AuthorizationRequest getAuthorizationRequest()
Settings used for controlling authorization request metadata.
.envoy.extensions.filters.http.ext_authz.v3.AuthorizationRequest authorization_request = 7;getAuthorizationRequest in interface HttpServiceOrBuilderpublic AuthorizationRequestOrBuilder getAuthorizationRequestOrBuilder()
Settings used for controlling authorization request metadata.
.envoy.extensions.filters.http.ext_authz.v3.AuthorizationRequest authorization_request = 7;getAuthorizationRequestOrBuilder in interface HttpServiceOrBuilderpublic boolean hasAuthorizationResponse()
Settings used for controlling authorization response metadata.
.envoy.extensions.filters.http.ext_authz.v3.AuthorizationResponse authorization_response = 8;hasAuthorizationResponse in interface HttpServiceOrBuilderpublic AuthorizationResponse getAuthorizationResponse()
Settings used for controlling authorization response metadata.
.envoy.extensions.filters.http.ext_authz.v3.AuthorizationResponse authorization_response = 8;getAuthorizationResponse in interface HttpServiceOrBuilderpublic AuthorizationResponseOrBuilder getAuthorizationResponseOrBuilder()
Settings used for controlling authorization response metadata.
.envoy.extensions.filters.http.ext_authz.v3.AuthorizationResponse authorization_response = 8;getAuthorizationResponseOrBuilder in interface HttpServiceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static HttpService parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpService parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpService parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpService parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpService parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpService parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpService parseFrom(InputStream input) throws IOException
IOExceptionpublic static HttpService parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HttpService parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HttpService parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HttpService parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HttpService parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HttpService.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HttpService.Builder newBuilder()
public static HttpService.Builder newBuilder(HttpService prototype)
public HttpService.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HttpService.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HttpService getDefaultInstance()
public static com.google.protobuf.Parser<HttpService> parser()
public com.google.protobuf.Parser<HttpService> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HttpService getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.