Record Class ResourceMethodDescription
java.lang.Object
java.lang.Record
io.quarkus.resteasy.reactive.server.runtime.security.ResourceMethodDescription
- Record Components:
invokedMethodDesc- description of actually invoked method (method on which CDI interceptors are applied)fallbackMethodDesc- description that we used in the past; not null when different toinvokedMethodDesc
record ResourceMethodDescription(io.quarkus.security.spi.runtime.MethodDescription invokedMethodDesc, io.quarkus.security.spi.runtime.MethodDescription fallbackMethodDesc)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResourceMethodDescription(io.quarkus.security.spi.runtime.MethodDescription invokedMethodDesc, io.quarkus.security.spi.runtime.MethodDescription fallbackMethodDesc) Creates an instance of aResourceMethodDescriptionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.io.quarkus.security.spi.runtime.MethodDescriptionReturns the value of thefallbackMethodDescrecord component.final inthashCode()Returns a hash code value for this object.io.quarkus.security.spi.runtime.MethodDescriptionReturns the value of theinvokedMethodDescrecord component.(package private) static ResourceMethodDescriptionof(org.jboss.resteasy.reactive.server.model.ServerResourceMethod method) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResourceMethodDescription
ResourceMethodDescription(io.quarkus.security.spi.runtime.MethodDescription invokedMethodDesc, io.quarkus.security.spi.runtime.MethodDescription fallbackMethodDesc) Creates an instance of aResourceMethodDescriptionrecord class.- Parameters:
invokedMethodDesc- the value for theinvokedMethodDescrecord componentfallbackMethodDesc- the value for thefallbackMethodDescrecord component
-
-
Method Details
-
of
static ResourceMethodDescription of(org.jboss.resteasy.reactive.server.model.ServerResourceMethod method) -
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). -
invokedMethodDesc
public io.quarkus.security.spi.runtime.MethodDescription invokedMethodDesc()Returns the value of theinvokedMethodDescrecord component.- Returns:
- the value of the
invokedMethodDescrecord component
-
fallbackMethodDesc
public io.quarkus.security.spi.runtime.MethodDescription fallbackMethodDesc()Returns the value of thefallbackMethodDescrecord component.- Returns:
- the value of the
fallbackMethodDescrecord component
-