Class ApplicationServlet

This servlet connects IT Mill Toolkit Application to Web. This servlet replaces both WebAdapterServlet and AjaxAdapterServlet.

Synopsis

VERSION@

Since

4.0

Inheritance Path.  java.lang.Object-> HttpServlet-> com.itmill.toolkit.terminal.web.ApplicationServlet

VERSION

Version number of this release. For example "4.0.0"

VERSION_BUILD

Build number. For example 0-beta1 in 4.0.0-beta1.

VERSION_MAJOR

Major version number. For example 4 in 4.1.0.

VERSION_MINOR

Minor version number. For example 1 in 4.1.0.

getResourceLocation(String, ThemeResource)

Parameters

theme

Theme name

resource

Theme resource

return

External URI specifying the resource

Get relative location of a theme resource.

getThemeSource()

Parameters

return

ThemeSource

Returns the theme source.

init(javax.servlet.ServletConfig)

Parameters

servletConfig

object containing the servlet's configuration and initialization parameters

Exceptions

ServletException

if an exception has occurred that interferes with the servlet's normal operation.

Called by the servlet container to indicate to a servlet that the servlet is being placed into service.

isDebugMode(Map)

Parameters

return

Debug mode

Check if web adapter is in debug mode. Extra output is generated to log when debug mode is enabled.

repaintRequested(Paintable.RepaintRequestEvent)

Parameters

event

The repaint request event specifying the paintable source.

Description copied from interface: repaintRequested

Receive repaint request events.

windowAttached(Application.WindowAttachEvent)

Description copied from interface: windowAttached

Window attached

windowDetached(Application.WindowDetachEvent)

Description copied from interface: windowDetached

Window attached