Interface AuExtensionRequest


public interface AuExtensionRequest
Represents a request for an AU extension (AuExtension).
Since:
5.0.0
Author:
tomyeh
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the path info of the request.
    jakarta.servlet.http.HttpServletRequest
    Returns the request (never null).
    jakarta.servlet.http.HttpServletResponse
    Returns the response (never null).
    getSession(boolean create)
    Returns the session, or null if no session and create is false.
  • Method Details

    • 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

      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 (see DHtmlUpdateServlet.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.