|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.web.jquery.controller.LyJQEventController
leon.view.web.jquery.controller.LyJQController
public abstract class LyJQController
Ly jquery controllers abstract class
Field Summary | |
---|---|
static java.util.HashMap<java.lang.String,LyJQSession> |
_sessions
The list of associated LySession instances of the HttpSession. |
static java.lang.String |
DEFAULT_SESSION
Identifier of the default session. |
Constructor Summary | |
---|---|
LyJQController()
|
Method Summary | |
---|---|
static LyWebApplication |
createApplication(java.lang.String applicationId,
java.lang.String configFile,
java.lang.String realPath)
Creates a new Leonardi application. |
static void |
generateCssFile(LyApplication application)
Generate CSS File. |
LyWebApplication |
getApplication()
Gets the application of the current session. |
void |
getApplicationContext(javax.servlet.http.HttpServletRequest request)
return application Context Spring bean |
void |
getApplicationId(javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
getContextRelativePath(javax.servlet.http.HttpServletRequest request,
java.lang.String page)
Removes the context path from URLS to enable forwarding into a JSP. |
LyDemand |
getDemand(javax.servlet.http.HttpServletRequest request,
LyEnvironment environment)
|
LyEnvironment |
getEnvironment()
Gets the environment of the current session. |
org.springframework.web.servlet.ModelAndView |
getLoginView()
|
java.lang.String |
getRootUrlFromRequest(javax.servlet.http.HttpServletRequest request)
getRootUrlFromRequest |
LySession |
getSession()
|
static java.lang.String |
getSessionKey(javax.servlet.http.HttpSession httpSession,
java.lang.String target)
|
void |
setNoCacheHeaders(javax.servlet.http.HttpServletResponse response,
int delay)
Sets an expiration delay used by the cache : modify the HTTP response header. |
void |
setSession(LySession session)
|
static void |
swapSession(java.lang.Object newSession,
java.lang.Object oldSession,
java.lang.String applicationId)
|
Methods inherited from class leon.view.web.jquery.controller.LyJQEventController |
---|
checkSessionValidity, completeUrlParams, getViewManager, handleRequest, setRequestAttributes, writeUpdateScripts |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_SESSION
public static transient java.util.HashMap<java.lang.String,LyJQSession> _sessions
Constructor Detail |
---|
public LyJQController()
Method Detail |
---|
public static void swapSession(java.lang.Object newSession, java.lang.Object oldSession, java.lang.String applicationId)
public static java.lang.String getSessionKey(javax.servlet.http.HttpSession httpSession, java.lang.String target)
public LyDemand getDemand(javax.servlet.http.HttpServletRequest request, LyEnvironment environment)
getDemand
in class LyJQEventController
public LyWebApplication getApplication()
public LyEnvironment getEnvironment()
public static LyWebApplication createApplication(java.lang.String applicationId, java.lang.String configFile, java.lang.String realPath)
public static void generateCssFile(LyApplication application)
public void setNoCacheHeaders(javax.servlet.http.HttpServletResponse response, int delay)
response
- Current HTTP response.delay
- The expiration delay.public java.lang.String getContextRelativePath(javax.servlet.http.HttpServletRequest request, java.lang.String page)
request
- Current HTTP request.page
- A JSP or HTML page with possibly a context path.
public void setSession(LySession session)
_session
- the _session to setpublic LySession getSession()
getSession
in class LyJQEventController
public java.lang.String getRootUrlFromRequest(javax.servlet.http.HttpServletRequest request)
request
-
public org.springframework.web.servlet.ModelAndView getLoginView()
public void getApplicationContext(javax.servlet.http.HttpServletRequest request)
http
- requestpublic void getApplicationId(javax.servlet.http.HttpServletRequest request)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |