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, FilterOrder order, @Nullable String executeOn, @Nullable List<String> serviceId, @Nullable List<String> excludeServiceId, @Nullable Boolean appendContextPath, boolean isPreMatching)
extends Record
- Since:
- 4.0.0
- Author:
- Jonas Konrad
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFilterMetadata(FilterPatternStyle patternStyle, @Nullable List<String> patterns, @Nullable List<HttpMethod> methods, 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 TypeMethodDescription@Nullable BooleanReturns the value of theappendContextPathrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexcludeServiceIdrecord component.@Nullable StringReturns the value of theexecuteOnrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisPreMatchingrecord component.@Nullable List<HttpMethod> 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 List<String> patterns, @Nullable List<HttpMethod> methods, FilterOrder order, @Nullable String executeOn, @Nullable List<String> serviceId, @Nullable List<String> excludeServiceId, @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
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
patternStyle
Returns the value of thepatternStylerecord component.- Returns:
- the value of the
patternStylerecord component
-
patterns
-
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
-
excludeServiceId
-
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
-