|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.endeca.infront.web.spring.SpringUtility
public class SpringUtility
Utility for interacting with the Spring Framework.
| Constructor Summary | |
|---|---|
SpringUtility()
|
|
| Method Summary | |
|---|---|
String |
getContextPath()
Retrieves the context path from the ServletContext
via the Spring WebApplicationContext. |
HttpServletRequest |
getHttpServletRequest()
Uses org.springframework.web to retrieve the current servlet request |
String |
getRealPath()
Retrieves the real path from the ServletContext
via the Spring WebApplicationContext. |
String |
getSessionId()
Uses org.springframework.web to retrieve the current servlet request's session id |
void |
setApplicationContext(ApplicationContext applicationContext)
Implementation of the Spring ApplicationContextAware interface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringUtility()
| Method Detail |
|---|
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
ApplicationContextAware interface.
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic String getContextPath()
ServletContext
via the Spring WebApplicationContext.
ServletContext.getContextPath()public String getRealPath()
ServletContext
via the Spring WebApplicationContext.
ServletContext.getRealPath(java.lang.String)public HttpServletRequest getHttpServletRequest()
public String getSessionId()
getSessionId in interface SessionIdProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||