org.zkoss.zk.au.http
Interface AuProcessor
- All Known Implementing Classes:
- AuDownloader, AuDynaMediar, AuUploader
public interface AuProcessor
An AU processor that can be plugged into DHtmlUpdateServlet.
An AU processor is associated with a prefix when plugged into
the update servlet. Then, when a request with the prefix is received,
the corresponding AU process is invoked to handle the request).
- Since:
- 3.0.2
- Author:
- tomyeh
|
Method Summary |
void |
process(Session sess,
javax.servlet.ServletContext ctx,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String pi)
Called to process the request if the session is available. |
process
void process(Session sess,
javax.servlet.ServletContext ctx,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String pi)
throws javax.servlet.ServletException,
java.io.IOException
- Called to process the request if the session is available.
- Parameters:
sess - the session, or null if the session is not available.ctx - the servlet context (never null).request - the request (never null).response - the response (never null).pi - the path info. It includes the prefix when the Au processor
is associated (see DHtmlUpdateServlet.addAuProcessor(org.zkoss.zk.ui.WebApp, java.lang.String, org.zkoss.zk.au.http.AuProcessor).
For example, if an AU processor is assoicated with "/upload", then
pi must start with "/upload". Note: it might end with other string
depending on the URI you generated to the client.
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2005-2009 Potix Corporation. All Rights Reserved.