Class AbstractRestApplication


  • public abstract class AbstractRestApplication
    extends jakarta.ws.rs.core.Application
    Holds the classes comprising a REST application.
    Author:
    aherscu
    • Constructor Detail

      • AbstractRestApplication

        protected AbstractRestApplication​(String packageName)
        Sets up an REST application by scanning a given package for Path annotated classes.
        Parameters:
        packageName - the name of the package to scan
    • Method Detail

      • getClasses

        public Set<Class<?>> getClasses()
        Overrides:
        getClasses in class jakarta.ws.rs.core.Application