Class JaxRsActivator


  • @ApplicationPath("/rest")
    public class JaxRsActivator
    extends javax.ws.rs.core.Application
    A class extending Application and annotated with @ApplicationPath is the Jakarta EE "no XML" approach to activating JAX-RS.

    Resources are served relative to the servlet path specified in the ApplicationPath annotation.

    • Constructor Detail

      • JaxRsActivator

        public JaxRsActivator()