org.glassfish.jersey.examples.aggregator
Class App

java.lang.Object
  extended by org.glassfish.jersey.examples.aggregator.App

public class App
extends Object

Jersey Balloons example application.


Field Summary
static String API_PATH
           
static String APP_PATH
           
static int PORT
           
static String WEB_ROOT
           
 
Constructor Summary
App()
           
 
Method Summary
static org.glassfish.jersey.server.ResourceConfig createResourceConfig()
          Create Jersey server-side application resource configuration.
static String getApiUri()
           
static String getAppUri()
           
static String getTwitterUserName()
          Get configured twitter user name.
static String getTwitterUserPassword()
          Get configured twitter user password.
static void main(String[] args)
           
static org.glassfish.grizzly.http.server.HttpServer startServer(String webRootPath)
          Starts Grizzly HTTP server exposing static content, JAX-RS resources and web sockets defined in this application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP_PATH

public static final String APP_PATH
See Also:
Constant Field Values

API_PATH

public static final String API_PATH
See Also:
Constant Field Values

WEB_ROOT

public static final String WEB_ROOT
See Also:
Constant Field Values

PORT

public static final int PORT
See Also:
Constant Field Values
Constructor Detail

App

public App()
Method Detail

startServer

public static org.glassfish.grizzly.http.server.HttpServer startServer(String webRootPath)
Starts Grizzly HTTP server exposing static content, JAX-RS resources and web sockets defined in this application.

Parameters:
webRootPath - static content root path.
Returns:
Grizzly HTTP server.

main

public static void main(String[] args)

getApiUri

public static String getApiUri()

getAppUri

public static String getAppUri()

createResourceConfig

public static org.glassfish.jersey.server.ResourceConfig createResourceConfig()
Create Jersey server-side application resource configuration.

Returns:
Jersey server-side application configuration.

getTwitterUserName

public static String getTwitterUserName()
Get configured twitter user name.

Returns:
configured twitter user name.

getTwitterUserPassword

public static String getTwitterUserPassword()
Get configured twitter user password.

Returns:
configured twitter user password.


Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.