Interface HeaderFilterOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
HeaderFilter, HeaderFilter.Builder

public interface HeaderFilterOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Only requests with a header which matches the specified HeaderMatcher will pass the filter check.
    Only requests with a header which matches the specified HeaderMatcher will pass the filter check.
    boolean
    Only requests with a header which matches the specified HeaderMatcher will pass the filter check.

    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

    • hasHeader

      boolean hasHeader()
       Only requests with a header which matches the specified HeaderMatcher will
       pass the filter check.
       
      .envoy.config.route.v3.HeaderMatcher header = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the header field is set.
    • getHeader

      HeaderMatcher getHeader()
       Only requests with a header which matches the specified HeaderMatcher will
       pass the filter check.
       
      .envoy.config.route.v3.HeaderMatcher header = 1 [(.validate.rules) = { ... }
      Returns:
      The header.
    • getHeaderOrBuilder

      HeaderMatcherOrBuilder getHeaderOrBuilder()
       Only requests with a header which matches the specified HeaderMatcher will
       pass the filter check.
       
      .envoy.config.route.v3.HeaderMatcher header = 1 [(.validate.rules) = { ... }