public class SessionInfo extends java.lang.Object implements java.io.Serializable, ICCServerConstants
CLIENTJAVATYPE_FX, CLIENTJAVATYPE_SWING, CLIENTTYPE_APPLET, CLIENTTYPE_APPLICATION, CLIENTTYPE_BROWSER, CLIENTTYPE_RISC, CLIENTTYPE_UI5, CLIENTTYPE_WEBSTART, FOCUSSEQUENCE_FIX_PREFIX, QP_SUBPAGEID| Modifier and Type | Method and Description |
|---|---|
void |
applyLastRoundtripLocale(java.util.Locale l)
Directly applies locale.
|
void |
applyLocaleSettingsAfterRendering(FacesContext context) |
void |
applyLocaleSettingsAfterRestoringView(FacesContext context)
Internal use only.
|
void |
applyLocaleSettingsBeforeRendering(FacesContext context)
Internal use only.
|
boolean |
getClientIsInTestMode() |
java.lang.String |
getClientJavaType()
If the client is a Java-client: indicator if the client type is a JavaFX client ("fx") or a
JavaSwing client ("swing").
|
int |
getClientTimeZoneOffset() |
static HttpSession |
getCurrentHttpSession()
Returns the http session.
|
java.lang.String |
getCurrentServerRequestId() |
long |
getHtHighestFocusCounter()
Server side focus management for thin client processing (ht* components).
|
java.lang.String |
getLastProcessedRequestId() |
java.lang.String |
getLastServerRequestId() |
int |
getNagleResponseSize() |
long |
getNewRequestFocusCounter()
Creates a request focus counter that is used for the focus management
of client side components.
|
boolean |
getPageaddonsAdded() |
boolean |
getProfileMode()
Profile mode - if true, then profile information is logged within this session.
|
static java.lang.String |
getSessionDefaultStyleForJavaClient() |
static java.lang.String |
getSessionDefaultStyleForRISCClient() |
static SessionInfo |
getSessionInstance()
Get the session info for the current session.
|
static SessionInfo |
getSessionInstance(HttpSession hs,
HttpServletRequest request) |
java.lang.String |
getStyle()
Style reference to /ecntjsfserver/styles subdirectory.
|
void |
increaseRequestFocusCounter()
Increases the request focus counter.
|
static SessionInfo |
readSessionInfoFromFile(java.lang.String xmlFileName,
java.lang.String defaultStyle)
This method is used within the layout editor environment only.
|
static void |
removeSessionInstance(HttpSession session,
java.lang.String subpageId) |
void |
setClientIsInTestMode(boolean clientIsInTestMode) |
void |
setClientJavaType(java.lang.String clientJavaType) |
void |
setClientTimeZoneOffset(int clientTimeZoneOffset) |
void |
setCurrentServerRequestId(java.lang.String value) |
void |
setHtHighestFocusCounter(long htHighestFocusCounter) |
void |
setLastProcessedRequestId(java.lang.String value) |
void |
setLastServerRequestId(java.lang.String value) |
void |
setNagleResponseSize(int nagleResponseSize) |
void |
setPageaddonsAdded(boolean value) |
void |
setProfileMode(boolean profileMode) |
void |
setStyle(java.lang.String value) |
void |
setStyleAndReloadClient(java.lang.String value) |
public static SessionInfo getSessionInstance()
public static void removeSessionInstance(HttpSession session,
java.lang.String subpageId)
public static SessionInfo getSessionInstance(HttpSession hs, HttpServletRequest request)
public static HttpSession getCurrentHttpSession()
public void setStyle(java.lang.String value)
public void setStyleAndReloadClient(java.lang.String value)
public java.lang.String getStyle()
public void applyLocaleSettingsAfterRestoringView(FacesContext context)
public void applyLastRoundtripLocale(java.util.Locale l)
public void applyLocaleSettingsBeforeRendering(FacesContext context)
public void applyLocaleSettingsAfterRendering(FacesContext context)
public void increaseRequestFocusCounter()
RequestFocusManager.getNewRequestFocusCounter(). All components
that need to obtain the focus receive the same request focus counter
within one request processing - at client side the first one will actually
receive the focus.public long getNewRequestFocusCounter()
public void setPageaddonsAdded(boolean value)
public boolean getPageaddonsAdded()
public static SessionInfo readSessionInfoFromFile(java.lang.String xmlFileName, java.lang.String defaultStyle)
public boolean getClientIsInTestMode()
public void setClientIsInTestMode(boolean clientIsInTestMode)
public java.lang.String getCurrentServerRequestId()
public void setCurrentServerRequestId(java.lang.String value)
public java.lang.String getLastServerRequestId()
public void setLastServerRequestId(java.lang.String value)
public void setLastProcessedRequestId(java.lang.String value)
public java.lang.String getLastProcessedRequestId()
public int getNagleResponseSize()
public void setNagleResponseSize(int nagleResponseSize)
public long getHtHighestFocusCounter()
public void setHtHighestFocusCounter(long htHighestFocusCounter)
public boolean getProfileMode()
public void setProfileMode(boolean profileMode)
public static java.lang.String getSessionDefaultStyleForJavaClient()
public static java.lang.String getSessionDefaultStyleForRISCClient()
public java.lang.String getClientJavaType()
public void setClientJavaType(java.lang.String clientJavaType)
public int getClientTimeZoneOffset()
public void setClientTimeZoneOffset(int clientTimeZoneOffset)
Copyright © CaptainCasa Gmbh. All Rights Reserved.