Package | Description |
---|---|
org.zkoss.zk.au |
Requests and responsed used to communicate between client and server,
called asynchronous updates.
|
org.zkoss.zk.au.http |
HTTP related classes used to do asynchronous updates.
|
org.zkoss.zk.ui | |
org.zkoss.zk.ui.event |
The org.zkoss.zk.ui and org.zkoss.zk.ui.event packages are the only
packages that component and application developers need to know.
|
org.zkoss.zk.ui.event.impl |
Implementation of Event Queues
|
org.zkoss.zk.ui.http |
HTTP relevant utilities and servlets for implementing
user interfaces (implementation only).
|
org.zkoss.zk.ui.impl |
Implementation of user interfaces and factories (implementation only).
|
org.zkoss.zk.ui.metainfo |
Metainfo representing pages and languages (implementation only).
|
org.zkoss.zk.ui.sys |
Internal interfaces of user interfaces and factories (behind the scene).
|
org.zkoss.zk.ui.util |
Utilities to handle user interfaces.
|
org.zkoss.zkmax.au.http |
HTTP related classes used to do asynchronous updates.
|
org.zkoss.zkmax.bind.impl | |
org.zkoss.zkmax.init |
Initialization of zkmax
|
org.zkoss.zkplus.hibernate |
Utilities to support Hibernate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AuDecoder.isIgnorable(java.lang.Object request,
WebApp wapp)
Returns if the request is ignorable when an error occurs.
|
Modifier and Type | Method and Description |
---|---|
static AuExtension |
DHtmlUpdateServlet.addAuExtension(WebApp wapp,
java.lang.String prefix,
AuExtension extension)
Adds an AU extension and associates it with the specified prefix,
even before
DHtmlUpdateServlet is started. |
void |
DHtmlUpdateServlet.denoteSessionTimeout(WebApp wapp,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean compress)
Denote HTTP 410 Session timeout response
|
static AuExtension |
DHtmlUpdateServlet.getAuExtension(WebApp wapp,
java.lang.String prefix)
Returns the AU extension that is associated the specified prefix.
|
static DHtmlUpdateServlet |
DHtmlUpdateServlet.getUpdateServlet(WebApp wapp)
Returns the update servlet of the specified application, or
null if not loaded yet.
|
void |
AuRedirect.init(WebApp wapp) |
Modifier and Type | Field and Description |
---|---|
protected static WebApp |
WebApps._wapp
The application for the whole installation.
|
Modifier and Type | Method and Description |
---|---|
static WebApp |
WebApps.getCurrent()
Returns this Web application, or null if not available.
|
WebApp |
Session.getWebApp()
Returns the Web application that this session belongs to.
|
WebApp |
RichletConfig.getWebApp()
Returns the web application that the richlet belongs to.
|
WebApp |
Desktop.getWebApp()
Returns the Web application this desktop belongs to.
|
WebApp |
WebApp.getWebApp(java.lang.String uripath)
Returns the WebApp that corresponds to a specified URL on the server,
or null if either none exists or the container wishes to restrict
this access..
|
Modifier and Type | Method and Description |
---|---|
static Component[] |
Executions.createComponents(WebApp wapp,
PageDefinition pagedef,
java.util.Map<?,?> arg)
Creates components that don't belong to any page
from the specified page definition.
|
static Component[] |
Executions.createComponents(WebApp wapp,
java.lang.String uri,
java.util.Map<?,?> arg)
Creates components that don't belong to any page
from a page file specified by an URI.
|
static Component[] |
Executions.createComponentsDirectly(WebApp wapp,
Document content,
java.lang.String extension,
java.util.Map<?,?> arg)
Creates components that don't belong to any page
from the raw content specified by a DOM tree.
|
static Component[] |
Executions.createComponentsDirectly(WebApp wapp,
java.io.Reader reader,
java.lang.String extension,
java.util.Map<?,?> arg)
Creates components that don't belong to any page
from the raw content read from the specified reader.
|
static Component[] |
Executions.createComponentsDirectly(WebApp wapp,
java.lang.String content,
java.lang.String extension,
java.util.Map<?,?> arg)
Creates components that don't belong to any page
from the raw content specified by a string.
|
static PageDefinition |
Executions.getPageDefinition(WebApp wapp,
java.lang.String uri)
Returns the page definition from the page file specified by an URI.
|
PageDefinition |
Executions.getPageDefinitionDirectly(WebApp wapp,
Document content,
java.lang.String extension)
Converts the specified page content, in DOM, to a page definition.
|
PageDefinition |
Executions.getPageDefinitionDirectly(WebApp wapp,
java.io.Reader reader,
java.lang.String extension)
Reads the raw content from a reader and converts it into
a page definition.
|
PageDefinition |
Executions.getPageDefinitionDirectly(WebApp wapp,
java.lang.String content,
java.lang.String extension)
Converts the specified page content to a page definition.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Event> |
EventQueues.lookup(java.lang.String name,
WebApp wapp,
boolean autoCreate)
Returns the event queue with the specified name in the
give application (i.e., the application scope).
|
static boolean |
EventQueues.remove(java.lang.String name,
WebApp wapp)
Removes the event queue of the specified application.
|
Modifier and Type | Method and Description |
---|---|
<T extends Event> |
EventQueueProviderImpl.lookup(java.lang.String name,
WebApp wapp,
boolean autoCreate) |
<T extends Event> |
EventQueueProvider.lookup(java.lang.String name,
WebApp wapp,
boolean autoCreate)
Returns the event queue with the specified name in the
give application (i.e., the scope).
|
boolean |
EventQueueProviderImpl.remove(java.lang.String name,
WebApp wapp) |
boolean |
EventQueueProvider.remove(java.lang.String name,
WebApp wapp)
Removes the event queue of the specified application.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleWebApp
A servlet-based Web application.
|
Modifier and Type | Method and Description |
---|---|
WebApp |
WebManager.getWebApp()
Returns the Web application.
|
WebApp |
SimpleSession.getWebApp() |
static WebApp |
WebManager.getWebApp(javax.servlet.ServletContext ctx)
Returns the Web application of the specified context.
|
WebApp |
SimpleWebApp.getWebApp(java.lang.String uripath) |
static WebApp |
WebManager.getWebAppIfAny(javax.servlet.ServletContext ctx)
Returns the Web application of the specified context, or null
if not available.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleSessionCache.destroy(WebApp wapp) |
static WebManager |
WebManager.getWebManager(WebApp wapp)
Returns the Web manager of the specified
WebApp . |
static WebManager |
WebManager.getWebManagerIfAny(WebApp wapp)
Returns the Web manager of the specified
WebApp ,
or null if not found. |
void |
SimpleSessionCache.init(WebApp wapp) |
Session |
SimpleUiFactory.newSession(WebApp wapp,
java.lang.Object nativeSess,
java.lang.Object request) |
Session |
SerializableUiFactory.newSession(WebApp wapp,
java.lang.Object nativeSess,
java.lang.Object request) |
static void |
Utils.updateDebugJS(WebApp wapp,
boolean debug)
Update the status of debug-js.
|
Constructor and Description |
---|
SerializableSession(WebApp wapp,
javax.servlet.http.HttpSession hsess,
java.lang.Object request)
Constructor.
|
SerializableSession(WebApp wapp,
java.lang.Object hsess,
java.lang.Object request)
Constructs a ZK session with either a HTTP session or a Portlet session.
|
SimpleSession(WebApp wapp,
javax.servlet.http.HttpSession hsess,
java.lang.Object request)
Constructs a ZK session with a HTTP session.
|
SimpleSession(WebApp wapp,
java.lang.Object navsess,
java.lang.Object request)
Constructs a ZK session with either a HTTP session or a Portlet session.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractWebApp
A skeletal implementation of
WebApp . |
Modifier and Type | Method and Description |
---|---|
WebApp |
RichletConfigImpl.getWebApp() |
WebApp |
RequestInfoImpl.getWebApp() |
WebApp |
DesktopImpl.getWebApp() |
Modifier and Type | Method and Description |
---|---|
void |
UiEngineImpl.start(WebApp wapp) |
void |
SessionDesktopCacheProvider.start(WebApp wapp) |
void |
GlobalDesktopCacheProvider.start(WebApp wapp) |
void |
AbstractUiFactory.start(WebApp wapp) |
void |
UiEngineImpl.stop(WebApp wapp) |
void |
SessionDesktopCacheProvider.stop(WebApp wapp) |
void |
GlobalDesktopCacheProvider.stop(WebApp wapp) |
void |
AbstractUiFactory.stop(WebApp wapp) |
Constructor and Description |
---|
DesktopImpl(WebApp wapp,
java.lang.String updateURI,
java.lang.String path,
java.lang.String deviceType,
java.lang.Object request) |
RequestInfoImpl(WebApp wapp,
Session sess,
Desktop desktop,
java.lang.Object request,
Locator locator)
Constructor
|
RichletConfigImpl(WebApp wapp,
java.util.Map<java.lang.String,java.lang.String> params) |
Modifier and Type | Method and Description |
---|---|
static Locator |
PageDefinitions.getLocator(WebApp wapp,
java.lang.String path)
Returns the locator for the specified context.
|
static PageDefinition |
PageDefinitions.getPageDefinition(WebApp wapp,
Locator locator,
java.lang.String path)
Returns the page definition of the specified path, or null if not
found or failed to parse.
|
static PageDefinition |
PageDefinitions.getPageDefinitionDirectly(WebApp wapp,
Locator locator,
Document doc,
java.lang.String extension)
Returns the page definition of the specified raw content in DOM;
never null.
|
static PageDefinition |
PageDefinitions.getPageDefinitionDirectly(WebApp wapp,
Locator locator,
java.io.Reader reader,
java.lang.String extension)
Returns the page definition of the raw content from the specified
reader; never null.
|
static PageDefinition |
PageDefinitions.getPageDefinitionDirectly(WebApp wapp,
Locator locator,
java.lang.String content,
java.lang.String extension)
Returns the page definition of the specified raw content; never null.
|
Constructor and Description |
---|
Parser(WebApp wapp,
Locator locator)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
WebApp |
RequestInfo.getWebApp()
Returns the Web application; never null.
|
WebApp |
WebAppFactoryImpl.newWebApp(java.lang.Object ctx,
Configuration config) |
WebApp |
WebAppFactory.newWebApp(java.lang.Object ctx,
Configuration config)
Instantiates the instance of
WebApp . |
Modifier and Type | Method and Description |
---|---|
void |
SessionCache.destroy(WebApp wapp)
Destroys the session cache
|
static Session |
SessionsCtrl.getSession(WebApp wapp,
java.lang.Object navsess)
Returns the ZK session associated with the specified native session,
or null if not found.
|
static java.util.List<StyleSheet> |
HtmlPageRenders.getStyleSheets(Execution exec,
WebApp wapp,
java.lang.String deviceType)
Returns a list of
StyleSheet that shall be generated
to the client for the specified execution. |
void |
SessionCache.init(WebApp wapp)
Initializes the session cache.
|
Session |
UiFactory.newSession(WebApp wapp,
java.lang.Object nativeSess,
java.lang.Object request)
Creates an instance of
Session . |
static Session |
SessionsCtrl.newSession(WebApp wapp,
java.lang.Object navsess,
java.lang.Object request)
Instantiates a ZK session that is associated with the specified
native session and request.
|
static java.lang.String |
HtmlPageRenders.outInitCrashScript(Execution exec,
WebApp wapp)
Returns Script tag to include init-crash-script and init-crash-timeout defined in zk.xml
It will be placed before all JavaScript files and codes generated by
HtmlPageRenders.outLangJavaScripts(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.WebApp, java.lang.String) |
static java.lang.String |
HtmlPageRenders.outLangJavaScripts(Execution exec,
WebApp wapp,
java.lang.String deviceType)
Returns HTML tags to include all JavaScript files and codes that are
required when loading a ZUML page (never null).
|
static java.lang.String |
HtmlPageRenders.outLangStyleSheets(Execution exec,
WebApp wapp,
java.lang.String deviceType)
Returns HTML tags to include all style sheets that are
defined in all languages of the specified device (never null).
|
static java.lang.String |
HtmlPageRenders.outZkTags(Execution exec,
WebApp wapp,
java.lang.String deviceType)
Generates and returns the ZK specific HTML tags such as stylesheet
and JavaScript.
|
static void |
WebAppsCtrl.setCurrent(WebApp wapp)
Sets the Web application for this installation.
|
void |
UiFactory.start(WebApp wapp)
Starts this factory.
|
void |
UiEngine.start(WebApp wapp)
Starts the engine.
|
void |
FailoverManager.start(WebApp wapp)
Starts the failover manager.
|
void |
DesktopCacheProvider.start(WebApp wapp)
Starts the provider.
|
void |
UiFactory.stop(WebApp wapp)
Stops this factory.
|
void |
UiEngine.stop(WebApp wapp)
Stops the engine.
|
void |
FailoverManager.stop(WebApp wapp)
Stops the failover manager.
|
void |
DesktopCacheProvider.stop(WebApp wapp)
Stops the provider.
|
Modifier and Type | Field and Description |
---|---|
protected WebApp |
GenericAutowireComposer.application
Implicit Object; the web application.
|
Modifier and Type | Method and Description |
---|---|
WebApp |
Configuration.getWebApp()
Returns the Web application that this configuration belongs to,
or null if it is not associated yet.
|
Modifier and Type | Method and Description |
---|---|
void |
WebAppCleanup.cleanup(WebApp wapp)
called when a ZK application is about to be destroyed.
|
void |
WebAppInit.init(WebApp wapp)
Called when a ZK application is created and initialized.
|
void |
Configuration.setWebApp(WebApp wapp)
Associates it with a web application.
|
Modifier and Type | Method and Description |
---|---|
static void |
AuDownloader.init(WebApp wapp)
Initializes the downloader.
|
Modifier and Type | Method and Description |
---|---|
static void |
Init.init(WebApp wapp) |
Modifier and Type | Method and Description |
---|---|
void |
WebAppInit.init(WebApp wapp) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateSessionFactoryListener.cleanup(WebApp wapp)
Deprecated.
|
void |
HibernateSessionFactoryListener.init(WebApp app)
Deprecated.
|
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.