java.lang.Object
org.glassfish.jersey.examples.helloworld.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 Details

    • ROOT_PATH

      public static final String ROOT_PATH
      "Hello World" root resource path.
      See Also:
    • 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 Details

    • App

      public App()
  • Method Details

    • 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.