org.zkoss.zk.au.http
Interface AuExtensionRequest


public interface AuExtensionRequest

Represents a request for an AU extension (AuExtension).

Since:
5.0.0
Author:
tomyeh

Method Summary
 java.lang.String getPathInfo()
          Returns the path info of the request.
 javax.servlet.http.HttpServletRequest getRequest()
          Returns the request (never null).
 javax.servlet.http.HttpServletResponse getResponse()
          Returns the response (never null).
 Session getSession(boolean create)
          Returns the session, or null if no session and create is false.
 

Method Detail

getSession

Session getSession(boolean create)
Returns the session, or null if no session and create is false.

Parameters:
create - whether to create one if not available.

getRequest

javax.servlet.http.HttpServletRequest getRequest()
Returns the request (never null).


getResponse

javax.servlet.http.HttpServletResponse getResponse()
Returns the response (never null).


getPathInfo

java.lang.String getPathInfo()
Returns the path info of the request. It includes the prefix when the Au extension is associated (see DHtmlUpdateServlet.addAuExtension(org.zkoss.zk.ui.WebApp, java.lang.String, org.zkoss.zk.au.http.AuExtension). For example, if an AU processor is assoicated with "/upload", then it must start with "/upload". Note: it might end with other string depending on the URI you generated to the client.



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo