Class App
- java.lang.Object
-
- 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
-
-
Constructor Summary
Constructors Constructor Description App()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)Main method that creates aclientand initializes the OAuth support with configuration needed to connect to the Twitter and retrieve statuses.
-
-
-
Method Detail
-
main
public static void main(String[] args) throws Exception
Main method that creates aclientand 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.
-
-