Package io.micronaut.http.filter
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 Summary
ConstructorsModifierConstructorDescriptionprotectedFilterMetadata(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 aFilterMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theappendContextPathrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexcludeServiceIdrecord component.Returns the value of theexecuteOnrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisPreMatchingrecord component.methods()Returns the value of themethodsrecord component.order()Returns the value of theorderrecord component.patterns()Returns the value of thepatternsrecord component.Returns the value of thepatternStylerecord component.Returns the value of theserviceIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FilterMetadata
protected FilterMetadata(FilterPatternStyle patternStyle, @Nullable @Nullable List<String> patterns, @Nullable @Nullable List<HttpMethod> methods, @Nullable @Nullable FilterOrder order, @Nullable @Nullable String executeOn, @Nullable @Nullable List<String> serviceId, @Nullable @Nullable List<String> excludeServiceId, @Nullable @Nullable Boolean appendContextPath, boolean isPreMatching) Creates an instance of aFilterMetadatarecord class.- Parameters:
patternStyle- the value for thepatternStylerecord componentpatterns- the value for thepatternsrecord componentmethods- the value for themethodsrecord componentorder- the value for theorderrecord componentexecuteOn- the value for theexecuteOnrecord componentserviceId- the value for theserviceIdrecord componentexcludeServiceId- the value for theexcludeServiceIdrecord componentappendContextPath- the value for theappendContextPathrecord componentisPreMatching- the value for theisPreMatchingrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
patternStyle
Returns the value of thepatternStylerecord component.- Returns:
- the value of the
patternStylerecord component
-
patterns
Returns the value of thepatternsrecord component.- Returns:
- the value of the
patternsrecord component
-
methods
Returns the value of themethodsrecord component.- Returns:
- the value of the
methodsrecord component
-
order
Returns the value of theorderrecord component.- Returns:
- the value of the
orderrecord component
-
executeOn
Returns the value of theexecuteOnrecord component.- Returns:
- the value of the
executeOnrecord component
-
serviceId
Returns the value of theserviceIdrecord component.- Returns:
- the value of the
serviceIdrecord component
-
excludeServiceId
Returns the value of theexcludeServiceIdrecord component.- Returns:
- the value of the
excludeServiceIdrecord component
-
appendContextPath
Returns the value of theappendContextPathrecord component.- Returns:
- the value of the
appendContextPathrecord component
-
isPreMatching
public boolean isPreMatching()Returns the value of theisPreMatchingrecord component.- Returns:
- the value of the
isPreMatchingrecord component
-