org.apache.lucene.gdata.servlet.handler
Class DefaultDeleteHandler
java.lang.Object
org.apache.lucene.gdata.servlet.handler.RequestAuthenticator
org.apache.lucene.gdata.servlet.handler.AbstractGdataRequestHandler
org.apache.lucene.gdata.servlet.handler.DefaultDeleteHandler
- All Implemented Interfaces:
- GDataHttpAuthenticator, GDataRequestHandler
public class DefaultDeleteHandler
- extends AbstractGdataRequestHandler
Default Handler implementation. This handler processes the incoming
GDataRequest
and deletes the requested
feed entry from the storage and the search component.
The handler sends following response to the client:
- if the entry could be deleted - HTTP status code 200 OK
- if an error occurs - HTTP status code 500 INTERNAL SERVER ERROR
- if the resource could not found - HTTP status code 404 NOT FOUND
- Author:
- Simon Willnauer
Method Summary |
void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes the GDATA Client request |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDeleteHandler
public DefaultDeleteHandler()
processRequest
public void processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
- Description copied from interface:
GDataRequestHandler
- Processes the GDATA Client request
- Specified by:
processRequest
in interface GDataRequestHandler
- Specified by:
processRequest
in class AbstractGdataRequestHandler
- Parameters:
request
- - the client request to be processedresponse
- - the response to the client request
- Throws:
javax.servlet.ServletException
IOException
- - if an input/output error occurs due to accessing an IO steam- See Also:
AbstractGdataRequestHandler.processRequest(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.