Class HttpConnectionManager.PathNormalizationOptions
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.PathNormalizationOptions
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,HttpConnectionManager.PathNormalizationOptionsOrBuilder
,Serializable
- Enclosing class:
HttpConnectionManager
public static final class HttpConnectionManager.PathNormalizationOptions
extends com.google.protobuf.GeneratedMessage
implements HttpConnectionManager.PathNormalizationOptionsOrBuilder
[#not-implemented-hide:] Transformations that apply to path headers. Transformations are applied before any processing of requests by HTTP filters, routing, and matching. Only the normalized path will be visible internally if a transformation is enabled. Any path rewrites that the router performs (e.g. :ref:`regex_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.regex_rewrite>` or :ref:`prefix_rewrite <envoy_v3_api_field_config.route.v3.RouteAction.prefix_rewrite>`) will apply to the ``:path`` header destined for the upstream. Note: access logging and tracing will show the original ``:path`` header.Protobuf type
envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.PathNormalizationOptions
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
[#not-implemented-hide:] Transformations that apply to path headers.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private static final HttpConnectionManager.PathNormalizationOptions
static final int
private PathTransformation
static final int
private PathTransformation
private byte
private static final com.google.protobuf.Parser
<HttpConnectionManager.PathNormalizationOptions> private static final long
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
PathNormalizationOptions
(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static final com.google.protobuf.Descriptors.Descriptor
[#not-implemented-hide:] Normalization applies internally before any processing of requests by HTTP filters, routing, and matching *and* will affect the forwarded ``:path`` header.[#not-implemented-hide:] Normalization applies internally before any processing of requests by HTTP filters, routing, and matching *and* will affect the forwarded ``:path`` header.[#not-implemented-hide:] Normalization only applies internally before any processing of requests by HTTP filters, routing, and matching.[#not-implemented-hide:] Normalization only applies internally before any processing of requests by HTTP filters, routing, and matching.com.google.protobuf.Parser
<HttpConnectionManager.PathNormalizationOptions> int
boolean
[#not-implemented-hide:] Normalization applies internally before any processing of requests by HTTP filters, routing, and matching *and* will affect the forwarded ``:path`` header.int
hashCode()
boolean
[#not-implemented-hide:] Normalization only applies internally before any processing of requests by HTTP filters, routing, and matching.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.ByteString data) parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.CodedInputStream input) parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<HttpConnectionManager.PathNormalizationOptions> parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
FORWARDING_TRANSFORMATION_FIELD_NUMBER
public static final int FORWARDING_TRANSFORMATION_FIELD_NUMBER- See Also:
-
forwardingTransformation_
-
HTTP_FILTER_TRANSFORMATION_FIELD_NUMBER
public static final int HTTP_FILTER_TRANSFORMATION_FIELD_NUMBER- See Also:
-
httpFilterTransformation_
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<HttpConnectionManager.PathNormalizationOptions> PARSER
-
-
Constructor Details
-
PathNormalizationOptions
private PathNormalizationOptions(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
PathNormalizationOptions
private PathNormalizationOptions()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
hasForwardingTransformation
public boolean hasForwardingTransformation()[#not-implemented-hide:] Normalization applies internally before any processing of requests by HTTP filters, routing, and matching *and* will affect the forwarded ``:path`` header. Defaults to :ref:`NormalizePathRFC3986 <envoy_v3_api_msg_type.http.v3.PathTransformation.Operation.NormalizePathRFC3986>`. When not specified, this value may be overridden by the runtime variable :ref:`http_connection_manager.normalize_path<config_http_conn_man_runtime_normalize_path>`. Envoy will respond with 400 to paths that are malformed (e.g. for paths that fail RFC 3986 normalization due to disallowed characters.)
.envoy.type.http.v3.PathTransformation forwarding_transformation = 1;
- Specified by:
hasForwardingTransformation
in interfaceHttpConnectionManager.PathNormalizationOptionsOrBuilder
- Returns:
- Whether the forwardingTransformation field is set.
-
getForwardingTransformation
[#not-implemented-hide:] Normalization applies internally before any processing of requests by HTTP filters, routing, and matching *and* will affect the forwarded ``:path`` header. Defaults to :ref:`NormalizePathRFC3986 <envoy_v3_api_msg_type.http.v3.PathTransformation.Operation.NormalizePathRFC3986>`. When not specified, this value may be overridden by the runtime variable :ref:`http_connection_manager.normalize_path<config_http_conn_man_runtime_normalize_path>`. Envoy will respond with 400 to paths that are malformed (e.g. for paths that fail RFC 3986 normalization due to disallowed characters.)
.envoy.type.http.v3.PathTransformation forwarding_transformation = 1;
- Specified by:
getForwardingTransformation
in interfaceHttpConnectionManager.PathNormalizationOptionsOrBuilder
- Returns:
- The forwardingTransformation.
-
getForwardingTransformationOrBuilder
[#not-implemented-hide:] Normalization applies internally before any processing of requests by HTTP filters, routing, and matching *and* will affect the forwarded ``:path`` header. Defaults to :ref:`NormalizePathRFC3986 <envoy_v3_api_msg_type.http.v3.PathTransformation.Operation.NormalizePathRFC3986>`. When not specified, this value may be overridden by the runtime variable :ref:`http_connection_manager.normalize_path<config_http_conn_man_runtime_normalize_path>`. Envoy will respond with 400 to paths that are malformed (e.g. for paths that fail RFC 3986 normalization due to disallowed characters.)
.envoy.type.http.v3.PathTransformation forwarding_transformation = 1;
- Specified by:
getForwardingTransformationOrBuilder
in interfaceHttpConnectionManager.PathNormalizationOptionsOrBuilder
-
hasHttpFilterTransformation
public boolean hasHttpFilterTransformation()[#not-implemented-hide:] Normalization only applies internally before any processing of requests by HTTP filters, routing, and matching. These will be applied after full transformation is applied. The ``:path`` header before this transformation will be restored in the router filter and sent upstream unless it was mutated by a filter. Defaults to no transformations. Multiple actions can be applied in the same Transformation, forming a sequential pipeline. The transformations will be performed in the order that they appear. Envoy will respond with 400 to paths that are malformed (e.g. for paths that fail RFC 3986 normalization due to disallowed characters.)
.envoy.type.http.v3.PathTransformation http_filter_transformation = 2;
- Specified by:
hasHttpFilterTransformation
in interfaceHttpConnectionManager.PathNormalizationOptionsOrBuilder
- Returns:
- Whether the httpFilterTransformation field is set.
-
getHttpFilterTransformation
[#not-implemented-hide:] Normalization only applies internally before any processing of requests by HTTP filters, routing, and matching. These will be applied after full transformation is applied. The ``:path`` header before this transformation will be restored in the router filter and sent upstream unless it was mutated by a filter. Defaults to no transformations. Multiple actions can be applied in the same Transformation, forming a sequential pipeline. The transformations will be performed in the order that they appear. Envoy will respond with 400 to paths that are malformed (e.g. for paths that fail RFC 3986 normalization due to disallowed characters.)
.envoy.type.http.v3.PathTransformation http_filter_transformation = 2;
- Specified by:
getHttpFilterTransformation
in interfaceHttpConnectionManager.PathNormalizationOptionsOrBuilder
- Returns:
- The httpFilterTransformation.
-
getHttpFilterTransformationOrBuilder
[#not-implemented-hide:] Normalization only applies internally before any processing of requests by HTTP filters, routing, and matching. These will be applied after full transformation is applied. The ``:path`` header before this transformation will be restored in the router filter and sent upstream unless it was mutated by a filter. Defaults to no transformations. Multiple actions can be applied in the same Transformation, forming a sequential pipeline. The transformations will be performed in the order that they appear. Envoy will respond with 400 to paths that are malformed (e.g. for paths that fail RFC 3986 normalization due to disallowed characters.)
.envoy.type.http.v3.PathTransformation http_filter_transformation = 2;
- Specified by:
getHttpFilterTransformationOrBuilder
in interfaceHttpConnectionManager.PathNormalizationOptionsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static HttpConnectionManager.PathNormalizationOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpConnectionManager.PathNormalizationOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpConnectionManager.PathNormalizationOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpConnectionManager.PathNormalizationOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpConnectionManager.PathNormalizationOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpConnectionManager.PathNormalizationOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpConnectionManager.PathNormalizationOptions parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HttpConnectionManager.PathNormalizationOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static HttpConnectionManager.PathNormalizationOptions parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static HttpConnectionManager.PathNormalizationOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static HttpConnectionManager.PathNormalizationOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HttpConnectionManager.PathNormalizationOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static HttpConnectionManager.PathNormalizationOptions.Builder newBuilder(HttpConnectionManager.PathNormalizationOptions prototype) -
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HttpConnectionManager.PathNormalizationOptions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
public com.google.protobuf.Parser<HttpConnectionManager.PathNormalizationOptions> getParserForType()- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-