Package de.xima.fc.utils
Class ServletContextInfo
- java.lang.Object
 - 
- de.xima.fc.utils.ServletContextInfo
 
 
- 
@Deprecated public final class ServletContextInfo extends Object
Deprecated.Since version 8.0.1. UseWebAppContext.getServletContextInfo()instead.Stores info about the servlet container where this app is running.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ServletContextInfocurrent()Deprecated.StringgetContextPath()Deprecated.Map<String,Object>getInitParams()Deprecated.StringgetRootPath()Deprecated.StringgetServerInfo()Deprecated.StringgetSessionCookieDomain()Deprecated.intgetSessionCookieMaxAge()Deprecated.StringgetSessionCookieName()Deprecated.StringgetSessionCookiePath()Deprecated.StringgetVirtualServerName()Deprecated.static voidinit(javax.servlet.ServletContext context)Deprecated.Should be called when this app was initialized on a servlet context.static voidrelease()Deprecated.Should be called when the servlet context where this app is running was shut down. 
 - 
 
- 
- 
Method Detail
- 
getContextPath
public String getContextPath()
Deprecated. 
- 
getRootPath
public String getRootPath()
Deprecated. 
- 
getServerInfo
public String getServerInfo()
Deprecated.- Returns:
 - Version info of the servlet container.
 
 
- 
getSessionCookieDomain
public String getSessionCookieDomain()
Deprecated. 
- 
getSessionCookieMaxAge
public int getSessionCookieMaxAge()
Deprecated. 
- 
getSessionCookieName
public String getSessionCookieName()
Deprecated. 
- 
getSessionCookiePath
public String getSessionCookiePath()
Deprecated. 
- 
getVirtualServerName
public String getVirtualServerName()
Deprecated. 
- 
current
public static ServletContextInfo current()
Deprecated.- Returns:
 - Current instance of this servlet context info. When this app is not running on a servlet container, returns an empty info instance.
 
 
- 
init
public static void init(javax.servlet.ServletContext context)
Deprecated.Should be called when this app was initialized on a servlet context.- Parameters:
 context- Servlet context where this app is running.
 
- 
release
public static void release()
Deprecated.Should be called when the servlet context where this app is running was shut down. 
 - 
 
 -