Interface RequestInfo

All Known Implementing Classes:
RequestInfoImpl

public interface RequestInfo
The request information used with UiFactory.
Author:
tomyeh
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the desktop, or null if not created yet.
    org.zkoss.util.resource.Locator
    Returns the locator used to retrieve resources, such as taglib and zscript files, or null if getWebApp() will be used as the locator.
    Returns the native request.
    Returns the session, or null if not available.
    Returns the Web application; never null.
    void
    setLocator(org.zkoss.util.resource.Locator locator)
    Sets the locator used to retrieve resources, such as taglib and zscript files.
  • Method Details

    • getWebApp

      WebApp getWebApp()
      Returns the Web application; never null.
    • getSession

      Session getSession()
      Returns the session, or null if not available.
    • getDesktop

      Desktop getDesktop()
      Returns the desktop, or null if not created yet. In other words, it returns null if UiFactory.newDesktop(org.zkoss.zk.ui.sys.RequestInfo, java.lang.String, java.lang.String) is called.
    • getNativeRequest

      Object getNativeRequest()
      Returns the native request. For HTTP, it is jakarta.servlet.http.HttpServletRequest.
    • getLocator

      org.zkoss.util.resource.Locator getLocator()
      Returns the locator used to retrieve resources, such as taglib and zscript files, or null if getWebApp() will be used as the locator.
    • setLocator

      void setLocator(org.zkoss.util.resource.Locator locator)
      Sets the locator used to retrieve resources, such as taglib and zscript files.
      Parameters:
      locator - the locator used to locate taglib and other resources. If null, getWebApp() is used.