Class ServerResourceMethod

java.lang.Object
org.jboss.resteasy.reactive.common.model.ResourceMethod
org.jboss.resteasy.reactive.server.model.ServerResourceMethod

public class ServerResourceMethod extends org.jboss.resteasy.reactive.common.model.ResourceMethod
  • Constructor Details

    • ServerResourceMethod

      public ServerResourceMethod()
    • ServerResourceMethod

      public ServerResourceMethod(String httpMethod, String path, String[] produces, String streamElementType, String[] consumes, Set<String> nameBindingNames, String name, String returnType, String simpleReturnType, org.jboss.resteasy.reactive.common.model.MethodParameter[] parameters, boolean blocking, boolean suspended, boolean sse, boolean formParamRequired, List<org.jboss.resteasy.reactive.common.model.ResourceMethod> subResourceMethods, Supplier<EndpointInvoker> invoker, Set<String> methodAnnotationNames, List<HandlerChainCustomizer> handlerChainCustomizers, ParameterExtractor customerParameterExtractor, boolean encoded)
  • Method Details

    • getInvoker

      public Supplier<EndpointInvoker> getInvoker()
    • setInvoker

      public org.jboss.resteasy.reactive.common.model.ResourceMethod setInvoker(Supplier<EndpointInvoker> invoker)
    • getMethodAnnotationNames

      public Set<String> getMethodAnnotationNames()
    • setMethodAnnotationNames

      public void setMethodAnnotationNames(Set<String> methodAnnotationNames)
    • getHandlerChainCustomizers

      public List<HandlerChainCustomizer> getHandlerChainCustomizers()
    • setHandlerChainCustomizers

      public ServerResourceMethod setHandlerChainCustomizers(List<HandlerChainCustomizer> handlerChainCustomizers)
    • getCustomerParameterExtractor

      public ParameterExtractor getCustomerParameterExtractor()
    • setCustomerParameterExtractor

      public ServerResourceMethod setCustomerParameterExtractor(ParameterExtractor customerParameterExtractor)
    • getActualDeclaringClassName

      public String getActualDeclaringClassName()
    • setActualDeclaringClassName

      public void setActualDeclaringClassName(String actualDeclaringClassName)
    • getClassDeclMethodThatHasJaxRsEndpointDefiningAnn

      public String getClassDeclMethodThatHasJaxRsEndpointDefiningAnn()
      Returns a declaring class name of a resource method annotated with Jakarta REST endpoint defining annotations. This class can be different to getActualDeclaringClassName() when this method is overridden on subclasses, or when method-level Path is defined on non-default interface method.
      Returns:
      declaring class name if different to getActualDeclaringClassName() or null
    • setClassDeclMethodThatHasJaxRsEndpointDefiningAnn

      public void setClassDeclMethodThatHasJaxRsEndpointDefiningAnn(String classDeclMethodThatHasJaxRsEndpointDefiningAnn)
      Sets a declaring class name of a resource method annotated with Jakarta REST endpoint defining annotations. Should only be set when the name is different to getActualDeclaringClassName().
      Parameters:
      classDeclMethodThatHasJaxRsEndpointDefiningAnn - class name