Package org.zkoss.zkmax.au.websocket
Class WebSocketDesktopInit
- java.lang.Object
-
- org.zkoss.zkmax.au.websocket.WebSocketDesktopInit
-
- All Implemented Interfaces:
DesktopInit
public class WebSocketDesktopInit extends java.lang.Object implements DesktopInit
A DesktopInit implementation for WebSocket connections.- Since:
- 8.5.0
- Author:
- wenninghsu
-
-
Constructor Summary
Constructors Constructor Description WebSocketDesktopInit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(Desktop desktop, java.lang.Object request)
Called when a desktop is created and initialized.
-
-
-
Method Detail
-
init
public void init(Desktop desktop, java.lang.Object request) throws java.lang.Exception
Description copied from interface:DesktopInit
Called when a desktop is created and initialized.Note: you can access the execution by calling
Desktop.getExecution()
orExecutions.getCurrent()
.- Specified by:
init
in interfaceDesktopInit
- Parameters:
desktop
- the desktop being created and initializedrequest
- the request caused the desktop being created. If HTTP and servlet, it is javax.servlet.http.HttpServletRequest. If portlet, it is javax.portlet.RenderRequest.- Throws:
java.lang.Exception
-
-