Class RestApplication


  • @ApplicationPath("api")
    public class RestApplication
    extends javax.ws.rs.core.Application
    REST application. This is the starting point for the REST server. All the resources will have the /api/ in front of the path.
    Since:
    1.0
    • Constructor Summary

      Constructors 
      Constructor Description
      RestApplication()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.Class<?>> getClasses()  
      • Methods inherited from class javax.ws.rs.core.Application

        getProperties, getSingletons
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RestApplication

        public RestApplication()
        Constructor.
        Since:
        1.0
    • Method Detail

      • getClasses

        public java.util.Set<java.lang.Class<?>> getClasses()
        Overrides:
        getClasses in class javax.ws.rs.core.Application