|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.jersey.examples.helloworld.App
public class App
This is the example entry point, where Jersey application for the example gets populated and published using the Grizzly 2 HTTP container.
| Field Summary | |
|---|---|
static boolean |
getMethodCalled
Test assertion indicator that a GET method handler has been called. |
static boolean |
headMethodCalled
Test assertion indicator that a HEAD method handler has been called. |
static java.lang.String |
ROOT_PATH
"Hello World" root resource path. |
| Constructor Summary | |
|---|---|
App()
|
|
| Method Summary | |
|---|---|
static ResourceConfig |
create()
Create example application resource configuration. |
static void |
main(java.lang.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 |
|---|
public static final java.lang.String ROOT_PATH
public static volatile boolean getMethodCalled
public static volatile boolean headMethodCalled
| Constructor Detail |
|---|
public App()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - application arguments.public static ResourceConfig create()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||