Class App
- java.lang.Object
-
- 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, Marek Potociar
-
-
Field Summary
Fields Modifier and Type Field Description static StringROOT_PATH_ANNOTATEDAnnotated class-based tracing root resource path.static StringROOT_PATH_PROGRAMMATICProgrammatic tracing root resource path.
-
Constructor Summary
Constructors Constructor Description App()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.glassfish.jersey.server.ResourceConfigcreate()Create example application resource configuration.static voidmain(String[] args)Main application entry point.
-
-
-
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
-
-
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.
-
-