Class UserPortalPageInitBean
- java.lang.Object
-
- de.xima.fc.user_portal.bean.common.UserPortalPageInitBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class UserPortalPageInitBean extends Object implements Serializable
When the HTTP websocket client is used, delays the rendering of the page until the websocket is connected.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserPortalPageInitBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCanRender()voidonWebsocketInit()Called when the websocket connection was established.voidsetCanRender(boolean canRender)
-
-
-
Method Detail
-
onWebsocketInit
public void onWebsocketInit() throws ExceptionCalled when the websocket connection was established. Invokes all pending callbacks.- Throws:
Exception- If an error occurs during the callback.
-
setCanRender
public void setCanRender(boolean canRender)
-
isCanRender
public boolean isCanRender()
-
-