net.oauth.example.consumer.webapp
Class FPCallback

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by net.oauth.example.consumer.webapp.FPCallback
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class FPCallback
extends javax.servlet.http.HttpServlet

An OAuth callback handler. Add exception handling for FPush

Author:
John Kristian, Lei Dou $Id$
See Also:
Serialized Form

Field Summary
static java.lang.String PATH
           
 
Constructor Summary
FPCallback()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Exchange an OAuth request token for an access token, and store the latter in cookies.
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PATH

public static final java.lang.String PATH
See Also:
Constant Field Values
Constructor Detail

FPCallback

public FPCallback()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws java.io.IOException,
                  javax.servlet.ServletException
Exchange an OAuth request token for an access token, and store the latter in cookies.

Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
java.io.IOException
javax.servlet.ServletException