public static final class Protocol.Http1ProtocolOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Http1ProtocolOptions.Builder> implements Protocol.Http1ProtocolOptionsOrBuilder
envoy.api.v2.core.Http1ProtocolOptions| Modifier and Type | Method and Description |
|---|---|
Protocol.Http1ProtocolOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Protocol.Http1ProtocolOptions |
build() |
Protocol.Http1ProtocolOptions |
buildPartial() |
Protocol.Http1ProtocolOptions.Builder |
clear() |
Protocol.Http1ProtocolOptions.Builder |
clearAcceptHttp10()
Handle incoming HTTP/1.0 and HTTP 0.9 requests.
|
Protocol.Http1ProtocolOptions.Builder |
clearAllowAbsoluteUrl()
Handle HTTP requests with absolute URLs in the requests.
|
Protocol.Http1ProtocolOptions.Builder |
clearDefaultHostForHttp10()
A default host for HTTP/1.0 requests.
|
Protocol.Http1ProtocolOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protocol.Http1ProtocolOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protocol.Http1ProtocolOptions.Builder |
clone() |
boolean |
getAcceptHttp10()
Handle incoming HTTP/1.0 and HTTP 0.9 requests.
|
com.google.protobuf.BoolValue |
getAllowAbsoluteUrl()
Handle HTTP requests with absolute URLs in the requests.
|
com.google.protobuf.BoolValue.Builder |
getAllowAbsoluteUrlBuilder()
Handle HTTP requests with absolute URLs in the requests.
|
com.google.protobuf.BoolValueOrBuilder |
getAllowAbsoluteUrlOrBuilder()
Handle HTTP requests with absolute URLs in the requests.
|
String |
getDefaultHostForHttp10()
A default host for HTTP/1.0 requests.
|
com.google.protobuf.ByteString |
getDefaultHostForHttp10Bytes()
A default host for HTTP/1.0 requests.
|
Protocol.Http1ProtocolOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasAllowAbsoluteUrl()
Handle HTTP requests with absolute URLs in the requests.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protocol.Http1ProtocolOptions.Builder |
mergeAllowAbsoluteUrl(com.google.protobuf.BoolValue value)
Handle HTTP requests with absolute URLs in the requests.
|
Protocol.Http1ProtocolOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protocol.Http1ProtocolOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protocol.Http1ProtocolOptions.Builder |
mergeFrom(Protocol.Http1ProtocolOptions other) |
Protocol.Http1ProtocolOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protocol.Http1ProtocolOptions.Builder |
setAcceptHttp10(boolean value)
Handle incoming HTTP/1.0 and HTTP 0.9 requests.
|
Protocol.Http1ProtocolOptions.Builder |
setAllowAbsoluteUrl(com.google.protobuf.BoolValue.Builder builderForValue)
Handle HTTP requests with absolute URLs in the requests.
|
Protocol.Http1ProtocolOptions.Builder |
setAllowAbsoluteUrl(com.google.protobuf.BoolValue value)
Handle HTTP requests with absolute URLs in the requests.
|
Protocol.Http1ProtocolOptions.Builder |
setDefaultHostForHttp10(String value)
A default host for HTTP/1.0 requests.
|
Protocol.Http1ProtocolOptions.Builder |
setDefaultHostForHttp10Bytes(com.google.protobuf.ByteString value)
A default host for HTTP/1.0 requests.
|
Protocol.Http1ProtocolOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Protocol.Http1ProtocolOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Protocol.Http1ProtocolOptions.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<Protocol.Http1ProtocolOptions.Builder>public Protocol.Http1ProtocolOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Http1ProtocolOptions.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<Protocol.Http1ProtocolOptions.Builder>public Protocol.Http1ProtocolOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Protocol.Http1ProtocolOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Protocol.Http1ProtocolOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Protocol.Http1ProtocolOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Http1ProtocolOptions.Builder>public Protocol.Http1ProtocolOptions.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<Protocol.Http1ProtocolOptions.Builder>public Protocol.Http1ProtocolOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Http1ProtocolOptions.Builder>public Protocol.Http1ProtocolOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Http1ProtocolOptions.Builder>public Protocol.Http1ProtocolOptions.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<Protocol.Http1ProtocolOptions.Builder>public Protocol.Http1ProtocolOptions.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<Protocol.Http1ProtocolOptions.Builder>public Protocol.Http1ProtocolOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protocol.Http1ProtocolOptions.Builder>public Protocol.Http1ProtocolOptions.Builder mergeFrom(Protocol.Http1ProtocolOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Http1ProtocolOptions.Builder>public Protocol.Http1ProtocolOptions.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<Protocol.Http1ProtocolOptions.Builder>IOExceptionpublic boolean hasAllowAbsoluteUrl()
Handle HTTP requests with absolute URLs in the requests. These requests are generally sent by clients to forward/explicit proxies. This allows clients to configure envoy as their HTTP proxy. In Unix, for example, this is typically done by setting the *http_proxy* environment variable.
.google.protobuf.BoolValue allow_absolute_url = 1;hasAllowAbsoluteUrl in interface Protocol.Http1ProtocolOptionsOrBuilderpublic com.google.protobuf.BoolValue getAllowAbsoluteUrl()
Handle HTTP requests with absolute URLs in the requests. These requests are generally sent by clients to forward/explicit proxies. This allows clients to configure envoy as their HTTP proxy. In Unix, for example, this is typically done by setting the *http_proxy* environment variable.
.google.protobuf.BoolValue allow_absolute_url = 1;getAllowAbsoluteUrl in interface Protocol.Http1ProtocolOptionsOrBuilderpublic Protocol.Http1ProtocolOptions.Builder setAllowAbsoluteUrl(com.google.protobuf.BoolValue value)
Handle HTTP requests with absolute URLs in the requests. These requests are generally sent by clients to forward/explicit proxies. This allows clients to configure envoy as their HTTP proxy. In Unix, for example, this is typically done by setting the *http_proxy* environment variable.
.google.protobuf.BoolValue allow_absolute_url = 1;public Protocol.Http1ProtocolOptions.Builder setAllowAbsoluteUrl(com.google.protobuf.BoolValue.Builder builderForValue)
Handle HTTP requests with absolute URLs in the requests. These requests are generally sent by clients to forward/explicit proxies. This allows clients to configure envoy as their HTTP proxy. In Unix, for example, this is typically done by setting the *http_proxy* environment variable.
.google.protobuf.BoolValue allow_absolute_url = 1;public Protocol.Http1ProtocolOptions.Builder mergeAllowAbsoluteUrl(com.google.protobuf.BoolValue value)
Handle HTTP requests with absolute URLs in the requests. These requests are generally sent by clients to forward/explicit proxies. This allows clients to configure envoy as their HTTP proxy. In Unix, for example, this is typically done by setting the *http_proxy* environment variable.
.google.protobuf.BoolValue allow_absolute_url = 1;public Protocol.Http1ProtocolOptions.Builder clearAllowAbsoluteUrl()
Handle HTTP requests with absolute URLs in the requests. These requests are generally sent by clients to forward/explicit proxies. This allows clients to configure envoy as their HTTP proxy. In Unix, for example, this is typically done by setting the *http_proxy* environment variable.
.google.protobuf.BoolValue allow_absolute_url = 1;public com.google.protobuf.BoolValue.Builder getAllowAbsoluteUrlBuilder()
Handle HTTP requests with absolute URLs in the requests. These requests are generally sent by clients to forward/explicit proxies. This allows clients to configure envoy as their HTTP proxy. In Unix, for example, this is typically done by setting the *http_proxy* environment variable.
.google.protobuf.BoolValue allow_absolute_url = 1;public com.google.protobuf.BoolValueOrBuilder getAllowAbsoluteUrlOrBuilder()
Handle HTTP requests with absolute URLs in the requests. These requests are generally sent by clients to forward/explicit proxies. This allows clients to configure envoy as their HTTP proxy. In Unix, for example, this is typically done by setting the *http_proxy* environment variable.
.google.protobuf.BoolValue allow_absolute_url = 1;getAllowAbsoluteUrlOrBuilder in interface Protocol.Http1ProtocolOptionsOrBuilderpublic boolean getAcceptHttp10()
Handle incoming HTTP/1.0 and HTTP 0.9 requests. This is off by default, and not fully standards compliant. There is support for pre-HTTP/1.1 style connect logic, dechunking, and handling lack of client host iff *default_host_for_http_10* is configured.
bool accept_http_10 = 2;getAcceptHttp10 in interface Protocol.Http1ProtocolOptionsOrBuilderpublic Protocol.Http1ProtocolOptions.Builder setAcceptHttp10(boolean value)
Handle incoming HTTP/1.0 and HTTP 0.9 requests. This is off by default, and not fully standards compliant. There is support for pre-HTTP/1.1 style connect logic, dechunking, and handling lack of client host iff *default_host_for_http_10* is configured.
bool accept_http_10 = 2;public Protocol.Http1ProtocolOptions.Builder clearAcceptHttp10()
Handle incoming HTTP/1.0 and HTTP 0.9 requests. This is off by default, and not fully standards compliant. There is support for pre-HTTP/1.1 style connect logic, dechunking, and handling lack of client host iff *default_host_for_http_10* is configured.
bool accept_http_10 = 2;public String getDefaultHostForHttp10()
A default host for HTTP/1.0 requests. This is highly suggested if *accept_http_10* is true as Envoy does not otherwise support HTTP/1.0 without a Host header. This is a no-op if *accept_http_10* is not true.
string default_host_for_http_10 = 3;getDefaultHostForHttp10 in interface Protocol.Http1ProtocolOptionsOrBuilderpublic com.google.protobuf.ByteString getDefaultHostForHttp10Bytes()
A default host for HTTP/1.0 requests. This is highly suggested if *accept_http_10* is true as Envoy does not otherwise support HTTP/1.0 without a Host header. This is a no-op if *accept_http_10* is not true.
string default_host_for_http_10 = 3;getDefaultHostForHttp10Bytes in interface Protocol.Http1ProtocolOptionsOrBuilderpublic Protocol.Http1ProtocolOptions.Builder setDefaultHostForHttp10(String value)
A default host for HTTP/1.0 requests. This is highly suggested if *accept_http_10* is true as Envoy does not otherwise support HTTP/1.0 without a Host header. This is a no-op if *accept_http_10* is not true.
string default_host_for_http_10 = 3;public Protocol.Http1ProtocolOptions.Builder clearDefaultHostForHttp10()
A default host for HTTP/1.0 requests. This is highly suggested if *accept_http_10* is true as Envoy does not otherwise support HTTP/1.0 without a Host header. This is a no-op if *accept_http_10* is not true.
string default_host_for_http_10 = 3;public Protocol.Http1ProtocolOptions.Builder setDefaultHostForHttp10Bytes(com.google.protobuf.ByteString value)
A default host for HTTP/1.0 requests. This is highly suggested if *accept_http_10* is true as Envoy does not otherwise support HTTP/1.0 without a Host header. This is a no-op if *accept_http_10* is not true.
string default_host_for_http_10 = 3;public final Protocol.Http1ProtocolOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Http1ProtocolOptions.Builder>public final Protocol.Http1ProtocolOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Http1ProtocolOptions.Builder>Copyright © 2019 WSO2. All rights reserved.