Package org.zkoss.zkmax.au.websocket
Class WebSocketDesktopInit
java.lang.Object
org.zkoss.zkmax.au.websocket.WebSocketDesktopInit
- All Implemented Interfaces:
DesktopInit
A DesktopInit implementation for WebSocket connections.
- Since:
- 8.5.0
- Author:
- wenninghsu
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WebSocketDesktopInit
public WebSocketDesktopInit()
-
-
Method Details
-
init
Description copied from interface:DesktopInitCalled when a desktop is created and initialized.Note: you can access the execution by calling
Desktop.getExecution()orExecutions.getCurrent().- Specified by:
initin 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:
Exception
-