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
Modifier and TypeMethodDescriptionReturns the path info of the request.jakarta.servlet.http.HttpServletRequestReturns the request (never null).jakarta.servlet.http.HttpServletResponseReturns the response (never null).getSession(boolean create) Returns the session, or null if no session andcreateis false.
-
Method Details
-
getSession
Returns the session, or null if no session andcreateis false.- Parameters:
create- whether to create one if not available.
-
getRequest
jakarta.servlet.http.HttpServletRequest getRequest()Returns the request (never null). -
getResponse
jakarta.servlet.http.HttpServletResponse getResponse()Returns the response (never null). -
getPathInfo
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.
-