Class ResourceMethod


  • public class ResourceMethod
    extends Object
    A representation of a REST endpoint. This is passed directly to recorders so must be bytecode serializable.
    • Constructor Detail

      • ResourceMethod

        public ResourceMethod()
    • Method Detail

      • isResourceLocator

        public boolean isResourceLocator()
      • getHttpMethod

        public String getHttpMethod()
      • getPath

        public String getPath()
      • getProduces

        public String[] getProduces()
      • getConsumes

        public String[] getConsumes()
      • getNameBindingNames

        public Set<String> getNameBindingNames()
      • getName

        public String getName()
      • getReturnType

        public String getReturnType()
      • getSimpleReturnType

        public String getSimpleReturnType()
      • isBlocking

        public boolean isBlocking()
      • isRunOnVirtualThread

        public boolean isRunOnVirtualThread()
      • setBlocking

        public ResourceMethod setBlocking​(boolean blocking)
      • setRunOnVirtualThread

        public ResourceMethod setRunOnVirtualThread​(boolean runOnVirtualThread)
      • isSuspended

        public boolean isSuspended()
      • setSuspended

        public ResourceMethod setSuspended​(boolean suspended)
      • isSse

        public boolean isSse()
      • isFormParamRequired

        public boolean isFormParamRequired()
      • setFormParamRequired

        public ResourceMethod setFormParamRequired​(boolean isFormParamRequired)
      • isMultipart

        public boolean isMultipart()
      • setMultipart

        public ResourceMethod setMultipart​(boolean isMultipart)
      • getStreamElementType

        public String getStreamElementType()
      • setSubResourceMethods

        public void setSubResourceMethods​(List<ResourceMethod> subResourceMethods)