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)
extends Record
-
Constructor Summary
ModifierConstructorDescriptionprotected
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) Creates an instance of aFilterMetadata
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theappendContextPath
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theexcludeServiceId
record component.Returns the value of theexecuteOn
record component.final int
hashCode()
Returns a hash code value for this object.methods()
Returns the value of themethods
record component.order()
Returns the value of theorder
record component.patterns()
Returns the value of thepatterns
record component.Returns the value of thepatternStyle
record component.Returns the value of theserviceId
record component.final String
toString()
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) Creates an instance of aFilterMetadata
record class.- Parameters:
patternStyle
- the value for thepatternStyle
record componentpatterns
- the value for thepatterns
record componentmethods
- the value for themethods
record componentorder
- the value for theorder
record componentexecuteOn
- the value for theexecuteOn
record componentserviceId
- the value for theserviceId
record componentexcludeServiceId
- the value for theexcludeServiceId
record componentappendContextPath
- the value for theappendContextPath
record 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. All components in this record class are compared withObjects::equals(Object,Object)
. -
patternStyle
Returns the value of thepatternStyle
record component.- Returns:
- the value of the
patternStyle
record component
-
patterns
Returns the value of thepatterns
record component.- Returns:
- the value of the
patterns
record component
-
methods
Returns the value of themethods
record component.- Returns:
- the value of the
methods
record component
-
order
Returns the value of theorder
record component.- Returns:
- the value of the
order
record component
-
executeOn
Returns the value of theexecuteOn
record component.- Returns:
- the value of the
executeOn
record component
-
serviceId
Returns the value of theserviceId
record component.- Returns:
- the value of the
serviceId
record component
-
excludeServiceId
Returns the value of theexcludeServiceId
record component.- Returns:
- the value of the
excludeServiceId
record component
-
appendContextPath
Returns the value of theappendContextPath
record component.- Returns:
- the value of the
appendContextPath
record component
-