org.apache.lucene.gdata.servlet
Class AbstractGdataServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.lucene.gdata.servlet.AbstractGdataServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- AccountAdministrationServlet, FeedAdministrationServlet, RequestControllerServlet
public abstract class AbstractGdataServlet
- extends javax.servlet.http.HttpServlet
Provides an abstract class to be subclassed to create an GDATA servlet
suitable for a GDATA serverside implementation.
- Author:
- Simon Willnauer
- See Also:
HttpServlet
,
Serialized Form
Method Summary |
void |
init(javax.servlet.ServletConfig arg0)
|
protected void |
service(javax.servlet.http.HttpServletRequest arg0,
javax.servlet.http.HttpServletResponse arg1)
This overwrites the protected service method to dispatch
the request to the correponding do method. |
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, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HANDLER_FACTORY
protected static RequestHandlerFactory HANDLER_FACTORY
AbstractGdataServlet
public AbstractGdataServlet()
service
protected void service(javax.servlet.http.HttpServletRequest arg0,
javax.servlet.http.HttpServletResponse arg1)
throws javax.servlet.ServletException,
IOException
- This overwrites the protected
service
method to dispatch
the request to the correponding do
method. There is
ususaly no need for overwriting this method. The GData protool and the
Google GData API uses the x-http-method-override
header to
get through firewalls. The http method will be overritten by the
x-http-method-override
and dispatched to the
do
Xxx methods defined in this class. This method
is an GDATA-specific version of the Servlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
method.
- Overrides:
service
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
- See Also:
HttpServlet.service(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
init
public void init(javax.servlet.ServletConfig arg0)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Servlet
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
- See Also:
GenericServlet.init(javax.servlet.ServletConfig)
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.