Class App


  • public class App
    extends Object
    This is the example entry point, where Jersey application gets populated and published using the Grizzly 2 HTTP container.
    Author:
    Jakub Podlesak, Marek Potociar
    • Field Detail

      • ROOT_PATH_PROGRAMMATIC

        public static final String ROOT_PATH_PROGRAMMATIC
        Programmatic tracing root resource path.
        See Also:
        Constant Field Values
      • ROOT_PATH_ANNOTATED

        public static final String ROOT_PATH_ANNOTATED
        Annotated class-based tracing root resource path.
        See Also:
        Constant Field Values
    • Constructor Detail

      • App

        public App()
    • Method Detail

      • main

        public static void main​(String[] args)
        Main application entry point.
        Parameters:
        args - application arguments.
      • create

        public static ResourceConfig create()
        Create example application resource configuration.
        Returns:
        initialized resource configuration of the example application.