Class ResteasyReactiveResourceInfo

java.lang.Object
org.jboss.resteasy.reactive.server.spi.ResteasyReactiveResourceInfo
All Implemented Interfaces:
jakarta.ws.rs.container.ResourceInfo

public class ResteasyReactiveResourceInfo extends Object implements jakarta.ws.rs.container.ResourceInfo
A lazy representation of a Method Only loaded if actually needed, which should not be the case generally unless custom Serialization is in use.
  • Field Details

    • isNonBlocking

      public final boolean isNonBlocking
      If it's non-blocking method within the runtime that won't always default to blocking
  • Constructor Details

    • ResteasyReactiveResourceInfo

      @Deprecated public ResteasyReactiveResourceInfo(String name, Class<?> declaringClass, Class[] parameterTypes, Set<String> classAnnotationNames, Set<String> methodAnnotationNames, boolean isNonBlocking)
      Deprecated.
    • ResteasyReactiveResourceInfo

      public ResteasyReactiveResourceInfo(String name, Class<?> declaringClass, Class[] parameterTypes, Set<String> classAnnotationNames, Set<String> methodAnnotationNames, boolean isNonBlocking, String actualDeclaringClassName)
  • Method Details

    • getName

      public String getName()
    • getParameterTypes

      public Class[] getParameterTypes()
    • getClassAnnotationNames

      public Set<String> getClassAnnotationNames()
    • getMethodAnnotationNames

      public Set<String> getMethodAnnotationNames()
    • getMethod

      public Method getMethod()
    • getClassAnnotations

      public Annotation[] getClassAnnotations()
    • getAnnotations

      public Annotation[] getAnnotations()
    • getGenericReturnType

      public Type getGenericReturnType()
    • getResourceMethod

      public Method getResourceMethod()
      Specified by:
      getResourceMethod in interface jakarta.ws.rs.container.ResourceInfo
    • getResourceClass

      public Class<?> getResourceClass()
      Specified by:
      getResourceClass in interface jakarta.ws.rs.container.ResourceInfo
    • getParameterAnnotations

      public Annotation[] getParameterAnnotations(int index)
    • getMethodId

      public String getMethodId()
    • getActualDeclaringClassName

      @Deprecated public String getActualDeclaringClassName()
      Deprecated.
      if you need the method, please open an issue so that we can document and test your use case
      Returns:
      declaring class of a method that returns endpoint response