Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 andcreate
is false.
-
-
-
Method Detail
-
getSession
Session getSession(boolean create)
Returns the session, or null if no session andcreate
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 (seeDHtmlUpdateServlet.addAuExtension(org.zkoss.zk.ui.WebApp, java.lang.String, org.zkoss.zk.au.http.AuExtension)
. For example, if an AU processor is associated with "/upload", then it must start with "/upload". Note: it might end with other string depending on the URI you generated to the client.
-
-