Package io.envoyproxy.envoy.api.v2.core
Interface Http1ProtocolOptions.HeaderKeyFormatOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Http1ProtocolOptions.HeaderKeyFormat,Http1ProtocolOptions.HeaderKeyFormat.Builder
- Enclosing class:
- Http1ProtocolOptions
public static interface Http1ProtocolOptions.HeaderKeyFormatOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionFormats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character.Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character.booleanFormats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasProperCaseWords
boolean hasProperCaseWords()Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character. For example, "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are". Note that while this results in most headers following conventional casing, certain headers are not covered. For example, the "TE" header will be formatted as "Te".
.envoy.api.v2.core.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1;- Returns:
- Whether the properCaseWords field is set.
-
getProperCaseWords
Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords getProperCaseWords()Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character. For example, "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are". Note that while this results in most headers following conventional casing, certain headers are not covered. For example, the "TE" header will be formatted as "Te".
.envoy.api.v2.core.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1;- Returns:
- The properCaseWords.
-
getProperCaseWordsOrBuilder
Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWordsOrBuilder getProperCaseWordsOrBuilder()Formats the header by proper casing words: the first character and any character following a special character will be capitalized if it's an alpha character. For example, "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are". Note that while this results in most headers following conventional casing, certain headers are not covered. For example, the "TE" header will be formatted as "Te".
.envoy.api.v2.core.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords proper_case_words = 1; -
getHeaderFormatCase
Http1ProtocolOptions.HeaderKeyFormat.HeaderFormatCase getHeaderFormatCase()
-