com.simpleyql
Class CallbackServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.simpleyql.CallbackServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class CallbackServlet
extends javax.servlet.http.HttpServlet

Called after a sucessful authorization. It just forwards the received info to the APIs finishAuthorization internal method.

API users shouldn't worry abou this (other tham mapping it on web.xml, see documentation.

Author:
chester
See Also:
Api.askAuthorization(HttpServletRequest, HttpServletResponse, String), ApiImpl.finishAuthorization(HttpServletRequest, HttpServletResponse, OAuthAccessor, String), Serialized Form

Field Summary
protected  java.util.logging.Logger log
           
 
Constructor Summary
CallbackServlet()
           
 
Method Summary
protected  void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final java.util.logging.Logger log
Constructor Detail

CallbackServlet

public CallbackServlet()
Method Detail

service

protected void service(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws javax.servlet.ServletException,
                       java.io.IOException
Overrides:
service in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2009. All Rights Reserved.