FileDocCategorySizeDatePackage
GDataRequestHandler.javaAPI DocApache Lucene 2.1.02239Wed Feb 14 10:46:04 GMT 2007org.apache.lucene.gdata.servlet.handler

GDataRequestHandler

public interface GDataRequestHandler
Based on the Command pattern [GoF], the Command and Controller Strategy suggests providing a generic interface to the handler components to which the controller may delegate responsibility, minimizing the coupling among these components. Adding to or changing the work that needs to be completed by these handlers does not require any changes to the interface between the controller and the handlers, but rather to the type and/or content of the commands. This provides a flexible and easily extensible mechanism for developers to add request handling behaviors. The controller invokes the processRequest method from the corresponding servlet doXXX method to delegate the request to the handler.
author
Simon Willnauer

Fields Summary
Constructors Summary
Methods Summary
public abstract voidprocessRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Processes the GDATA Client request

param
request - the client request to be processed
param
response - the response to the client request
throws
ServletException - if a servlet exception is thrown by the request or response
throws
IOException - if an input/output error occurs due to accessing an IO steam