Class Http11ProxyUpstreamTransport
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.extensions.transport_sockets.http_11_proxy.v3.Http11ProxyUpstreamTransport
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Http11ProxyUpstreamTransportOrBuilder,Serializable
public final class Http11ProxyUpstreamTransport extends com.google.protobuf.GeneratedMessageV3 implements Http11ProxyUpstreamTransportOrBuilder
Configuration for HTTP/1.1 proxy transport sockets. This is intended for use in Envoy Mobile, though may eventually be extended for upstream Envoy use. If this transport socket is configured, and an intermediate filter adds the stream info necessary for proxying to the stream info (as the test filter does :repo:`here <test/integration/filters/header_to_proxy_filter.cc>`) then * Upstream connections will be directed to the specified proxy address rather than the host's address * Upstream TLS connections will have a raw HTTP/1.1 CONNECT header prefaced to the payload, and 200 response stripped (if less than 200 bytes) * Plaintext HTTP/1.1 connections will be sent with a fully qualified URL. This transport socket is not compatible with HTTP/3, plaintext HTTP/2, or raw TCP.
Protobuf typeenvoy.extensions.transport_sockets.http_11_proxy.v3.Http11ProxyUpstreamTransport- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttp11ProxyUpstreamTransport.BuilderConfiguration for HTTP/1.1 proxy transport sockets.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intTRANSPORT_SOCKET_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Http11ProxyUpstreamTransportgetDefaultInstance()Http11ProxyUpstreamTransportgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Http11ProxyUpstreamTransport>getParserForType()intgetSerializedSize()TransportSocketgetTransportSocket()The underlying transport socket being wrapped.TransportSocketOrBuildergetTransportSocketOrBuilder()The underlying transport socket being wrapped.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasTransportSocket()The underlying transport socket being wrapped.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Http11ProxyUpstreamTransport.BuildernewBuilder()static Http11ProxyUpstreamTransport.BuildernewBuilder(Http11ProxyUpstreamTransport prototype)Http11ProxyUpstreamTransport.BuildernewBuilderForType()protected Http11ProxyUpstreamTransport.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Http11ProxyUpstreamTransportparseDelimitedFrom(InputStream input)static Http11ProxyUpstreamTransportparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Http11ProxyUpstreamTransportparseFrom(byte[] data)static Http11ProxyUpstreamTransportparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Http11ProxyUpstreamTransportparseFrom(com.google.protobuf.ByteString data)static Http11ProxyUpstreamTransportparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Http11ProxyUpstreamTransportparseFrom(com.google.protobuf.CodedInputStream input)static Http11ProxyUpstreamTransportparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Http11ProxyUpstreamTransportparseFrom(InputStream input)static Http11ProxyUpstreamTransportparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Http11ProxyUpstreamTransportparseFrom(ByteBuffer data)static Http11ProxyUpstreamTransportparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Http11ProxyUpstreamTransport>parser()Http11ProxyUpstreamTransport.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TRANSPORT_SOCKET_FIELD_NUMBER
public static final int TRANSPORT_SOCKET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasTransportSocket
public boolean hasTransportSocket()
The underlying transport socket being wrapped.
.envoy.config.core.v3.TransportSocket transport_socket = 1 [(.validate.rules) = { ... }- Specified by:
hasTransportSocketin interfaceHttp11ProxyUpstreamTransportOrBuilder- Returns:
- Whether the transportSocket field is set.
-
getTransportSocket
public TransportSocket getTransportSocket()
The underlying transport socket being wrapped.
.envoy.config.core.v3.TransportSocket transport_socket = 1 [(.validate.rules) = { ... }- Specified by:
getTransportSocketin interfaceHttp11ProxyUpstreamTransportOrBuilder- Returns:
- The transportSocket.
-
getTransportSocketOrBuilder
public TransportSocketOrBuilder getTransportSocketOrBuilder()
The underlying transport socket being wrapped.
.envoy.config.core.v3.TransportSocket transport_socket = 1 [(.validate.rules) = { ... }- Specified by:
getTransportSocketOrBuilderin interfaceHttp11ProxyUpstreamTransportOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Http11ProxyUpstreamTransport parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Http11ProxyUpstreamTransport parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Http11ProxyUpstreamTransport parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Http11ProxyUpstreamTransport parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Http11ProxyUpstreamTransport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Http11ProxyUpstreamTransport parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Http11ProxyUpstreamTransport parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Http11ProxyUpstreamTransport parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Http11ProxyUpstreamTransport parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Http11ProxyUpstreamTransport parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Http11ProxyUpstreamTransport parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Http11ProxyUpstreamTransport parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Http11ProxyUpstreamTransport.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Http11ProxyUpstreamTransport.Builder newBuilder()
-
newBuilder
public static Http11ProxyUpstreamTransport.Builder newBuilder(Http11ProxyUpstreamTransport prototype)
-
toBuilder
public Http11ProxyUpstreamTransport.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Http11ProxyUpstreamTransport.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Http11ProxyUpstreamTransport getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Http11ProxyUpstreamTransport> parser()
-
getParserForType
public com.google.protobuf.Parser<Http11ProxyUpstreamTransport> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Http11ProxyUpstreamTransport getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-