FileDocCategorySizeDatePackage
RequestControllerServlet.javaAPI DocApache Lucene 2.1.03875Wed Feb 14 10:46:04 GMT 2007org.apache.lucene.gdata.servlet

RequestControllerServlet

public class RequestControllerServlet extends AbstractGdataServlet
Provides a clean basic interface for GDATA Client API and requests to the GDATA Server. This Servlet dispatches the incoming requests to defined GDATA request handlers. Each of the handler processes the incoming request and responds according to the requested action.
author
Simon Willnauer

Fields Summary
private static final Log
LOGGER
private static final long
serialVersionUID
Version ID since this class implements
Constructors Summary
Methods Summary
protected voiddoDelete(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)

see
javax.servlet.http.HttpServlet#doDelete(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)


                 
    
	     
               
        GDataRequestHandler hanlder = HANDLER_FACTORY.getEntryDeleteHandler();
        if(LOGGER.isInfoEnabled())
            LOGGER.info("Process DELETE request");
        
        hanlder.processRequest(arg0, arg1);
    
protected voiddoGet(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)

see
javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

        GDataRequestHandler hanlder = HANDLER_FACTORY.getFeedQueryHandler();
        if(LOGGER.isInfoEnabled())
            LOGGER.info("Process GET request");
        hanlder.processRequest(arg0, arg1);
    
protected voiddoPost(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)

see
javax.servlet.http.HttpServlet#doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

        GDataRequestHandler hanlder = HANDLER_FACTORY.getEntryInsertHandler();
        if(LOGGER.isInfoEnabled())
            LOGGER.info("Process POST request");
        hanlder.processRequest(arg0, arg1);
    
protected voiddoPut(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)

see
javax.servlet.http.HttpServlet#doPut(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

        GDataRequestHandler hanlder = HANDLER_FACTORY.getEntryUpdateHandler();
        if(LOGGER.isInfoEnabled())
            LOGGER.info("Process PUT request");
        hanlder.processRequest(arg0, arg1);