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

    Modifier and Type
    Method
    Description
    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 Details

    • App

      public App()
  • Method Details

    • 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.