Package org.zkoss.zk.au.http
Interface AuExtensionRequest
-
public interface AuExtensionRequestRepresents 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.StringgetPathInfo()Returns the path info of the request.jakarta.servlet.http.HttpServletRequestgetRequest()Returns the request (never null).jakarta.servlet.http.HttpServletResponsegetResponse()Returns the response (never null).SessiongetSession(boolean create)Returns the session, or null if no session andcreateis false.
-
-
-
Method Detail
-
getSession
Session getSession(boolean create)
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
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.
-
-