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 Type
    Method
    Description
     
    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.
    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.
    boolean
    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.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       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

       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