Package io.micronaut.starter.feature
Record Class InterceptUrlMap
java.lang.Object
java.lang.Record
io.micronaut.starter.feature.InterceptUrlMap
-
Constructor Summary
ConstructorDescriptionInterceptUrlMap
(@NonNull String pattern, @NonNull String access) Creates an instance of aInterceptUrlMap
record class. -
Method Summary
Modifier and TypeMethodDescription@NonNull String
access()
Returns the value of theaccess
record component.static InterceptUrlMap
anonymousAcccess
(@NonNull String pattern) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.@NonNull String
pattern()
Returns the value of thepattern
record component.toMap()
final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
InterceptUrlMap
Creates an instance of aInterceptUrlMap
record class.- Parameters:
pattern
- the value for thepattern
record componentaccess
- the value for theaccess
record component
-
-
Method Details
-
anonymousAcccess
-
toMap
-
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)
. -
pattern
Returns the value of thepattern
record component.- Returns:
- the value of the
pattern
record component
-
access
Returns the value of theaccess
record component.- Returns:
- the value of the
access
record component
-