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

AccountAdministrationServlet

public class AccountAdministrationServlet extends AbstractGdataServlet
This Servlet provides an REST interface to create / update and delete user instances.
author
Simon Willnauer

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


    
             
        GDataRequestHandler handler = HANDLER_FACTORY.getDeleteAccountHandler();
        if(LOGGER.isInfoEnabled())
            LOGGER.info("Process delete Account request");
        handler.processRequest(arg0,arg1);
       
    
protected voiddoPost(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)

        GDataRequestHandler handler = HANDLER_FACTORY.getInsertAccountHandler();
        if(LOGGER.isInfoEnabled())
            LOGGER.info("Process insert Account request");
        handler.processRequest(arg0,arg1);        
       
    
protected voiddoPut(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)

        
        GDataRequestHandler handler = HANDLER_FACTORY.getUpdateAccountHandler();
        if(LOGGER.isInfoEnabled())
            LOGGER.info("Process update Account request");
        handler.processRequest(arg0,arg1);