Record Class InterceptMethodMapPattern
java.lang.Object
java.lang.Record
io.micronaut.grpc.server.security.InterceptMethodMapPattern
- Record Components:
pattern- The regular expression matched against the full gRPC method nameaccess- The access rules, for exampleisAuthenticated()or role names
A gRPC authorization rule configured under
grpc.server.security.intercept-method-map.
The pattern is a regular expression matched against the fully qualified gRPC method name,
for example helloworld.Greeter/SayHello.
- Since:
- 5.3.0
-
Constructor Summary
ConstructorsConstructorDescriptionInterceptMethodMapPattern(String pattern, List<String> access) Creates an instance of aInterceptMethodMapPatternrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccess()Returns the value of theaccessrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pattern()Returns the value of thepatternrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InterceptMethodMapPattern
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
pattern
-
access
-