org.glassfish.jersey.examples.httptrace
Class App

java.lang.Object
  extended by org.glassfish.jersey.examples.httptrace.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 (jakub.podlesak at oracle.com), Marek Potociar (marek.potociar at oracle.com)

Field Summary
static String ROOT_PATH_ANNOTATED
          Annotated class-based tracing root resource path.
static String ROOT_PATH_PROGRAMMATIC
          Programmatic tracing root resource path.
 
Constructor Summary
App()
           
 
Method Summary
static ResourceConfig create()
          Create example application resource configuration.
static void main(String[] args)
          Main application entry point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.