org.atmosphere.nettosphere
Class Context
java.lang.Object
org.atmosphere.nettosphere.Context
public class Context
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
path
public String path()
getContextPath
public String getContextPath()
getMajorVersion
public int getMajorVersion()
getMinorVersion
public int getMinorVersion()
getMimeType
public String getMimeType(String file)
getResourcePaths
public Set getResourcePaths(String path)
getResource
public URL getResource(String path)
throws MalformedURLException
- Throws:
MalformedURLException
getResourceAsStream
public InputStream getResourceAsStream(String path)
getRealPath
public String getRealPath(String path)
getServerInfo
public String getServerInfo()
getInitParameter
public String getInitParameter(String name)
getInitParameterNames
public Enumeration getInitParameterNames()
getAttribute
public Object getAttribute(String name)
getAttributeNames
public Enumeration getAttributeNames()
setAttribute
public void setAttribute(String name,
Object object)
removeAttribute
public void removeAttribute(String name)
getServletContextName
public String getServletContextName()
Copyright © 2014. All Rights Reserved.