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 boolean
isCanRender()
Checks if the page can be rendered.void
onWebsocketInit()
Called when the websocket connection was established.void
setCanRender(boolean canRender)
-
-
-
Method Detail
-
isCanRender
public boolean isCanRender()
Checks if the page can be rendered. If the websocket client is used, the page can only be rendered after the websocket connection was established. Otherwise, the page can be rendered immediately.- Returns:
- Whether the page can be rendered.
-
setCanRender
public void setCanRender(boolean canRender)
-
-