Record Class BaseFilterProcessor.FilterMetadata

java.lang.Object
java.lang.Record
io.micronaut.http.filter.BaseFilterProcessor.FilterMetadata
Enclosing class:
BaseFilterProcessor<A extends Annotation>

protected static record BaseFilterProcessor.FilterMetadata(FilterPatternStyle patternStyle, @Nullable List<String> patterns, @Nullable List<HttpMethod> methods, @Nullable FilterOrder order, @Nullable String executeOn, @Nullable List<String> serviceId, @Nullable List<String> excludeServiceId, @Nullable Boolean appendContextPath, boolean isPreMatching) extends Record
  • Constructor Details

    • FilterMetadata

      protected FilterMetadata(FilterPatternStyle patternStyle, @Nullable List<String> patterns, @Nullable List<HttpMethod> methods, @Nullable FilterOrder order, @Nullable String executeOn, @Nullable List<String> serviceId, @Nullable List<String> excludeServiceId, @Nullable Boolean appendContextPath, boolean isPreMatching)
      Creates an instance of a FilterMetadata record class.
      Parameters:
      patternStyle - the value for the patternStyle record component
      patterns - the value for the patterns record component
      methods - the value for the methods record component
      order - the value for the order record component
      executeOn - the value for the executeOn record component
      serviceId - the value for the serviceId record component
      excludeServiceId - the value for the excludeServiceId record component
      appendContextPath - the value for the appendContextPath record component
      isPreMatching - the value for the isPreMatching record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • patternStyle

      public FilterPatternStyle patternStyle()
      Returns the value of the patternStyle record component.
      Returns:
      the value of the patternStyle record component
    • patterns

      public @Nullable List<String> patterns()
      Returns the value of the patterns record component.
      Returns:
      the value of the patterns record component
    • methods

      public @Nullable List<HttpMethod> methods()
      Returns the value of the methods record component.
      Returns:
      the value of the methods record component
    • order

      public @Nullable FilterOrder order()
      Returns the value of the order record component.
      Returns:
      the value of the order record component
    • executeOn

      public @Nullable String executeOn()
      Returns the value of the executeOn record component.
      Returns:
      the value of the executeOn record component
    • serviceId

      public @Nullable List<String> serviceId()
      Returns the value of the serviceId record component.
      Returns:
      the value of the serviceId record component
    • excludeServiceId

      public @Nullable List<String> excludeServiceId()
      Returns the value of the excludeServiceId record component.
      Returns:
      the value of the excludeServiceId record component
    • appendContextPath

      public @Nullable Boolean appendContextPath()
      Returns the value of the appendContextPath record component.
      Returns:
      the value of the appendContextPath record component
    • isPreMatching

      public boolean isPreMatching()
      Returns the value of the isPreMatching record component.
      Returns:
      the value of the isPreMatching record component