Class App


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

      • getMethodCalled

        public static volatile boolean getMethodCalled
        Test assertion indicator that a GET method handler has been called.
      • headMethodCalled

        public static volatile boolean headMethodCalled
        Test assertion indicator that a HEAD method handler has been called.
    • 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 org.glassfish.jersey.server.ResourceConfig create()
        Create example application resource configuration.
        Returns:
        initialized resource configuration of the example application.