org.glassfish.jersey.examples.oauth.twitterclient
Class App

java.lang.Object
  extended by org.glassfish.jersey.examples.oauth.twitterclient.App

public class App
extends Object

Simple command-line application that uses Jersey OAuth client library to authenticate with Twitter.

Author:
Martin Matula, Miroslav Fuksa (miroslav.fuksa at oracle.com)

Constructor Summary
App()
           
 
Method Summary
static void main(String[] args)
          Main method that creates a client and initializes the OAuth support with configuration needed to connect to the Twitter and retrieve statuses.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

App

public App()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Main method that creates a client and initializes the OAuth support with configuration needed to connect to the Twitter and retrieve statuses.

Execute this method to demo

Parameters:
args - Command line arguments.
Throws:
Exception - Thrown when error occurs.


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