org.tinygroup.weblayer.listener
类 TinyServletContext
java.lang.Object
org.tinygroup.weblayer.listener.TinyServletContext
- 所有已实现的接口:
- javax.servlet.ServletContext
public class TinyServletContext
- extends Object
- implements javax.servlet.ServletContext
tiny框架 ServletContext实现
- 作者:
- renhui
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TinyServletContext
public TinyServletContext(javax.servlet.ServletContext servletContext)
getContextPath
public String getContextPath()
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getContextPath
getContext
public javax.servlet.ServletContext getContext(String uripath)
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getContext
getMajorVersion
public int getMajorVersion()
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getMajorVersion
getMinorVersion
public int getMinorVersion()
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getMinorVersion
getMimeType
public String getMimeType(String file)
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getMimeType
getResourcePaths
public Set getResourcePaths(String path)
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getResourcePaths
getResource
public URL getResource(String path)
throws MalformedURLException
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getResource
- 抛出:
MalformedURLException
getResourceAsStream
public InputStream getResourceAsStream(String path)
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getResourceAsStream
getRequestDispatcher
public javax.servlet.RequestDispatcher getRequestDispatcher(String path)
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getRequestDispatcher
getNamedDispatcher
public javax.servlet.RequestDispatcher getNamedDispatcher(String name)
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getNamedDispatcher
getServlet
@Deprecated
public javax.servlet.Servlet getServlet(String name)
throws javax.servlet.ServletException
- 已过时。
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getServlet
- 抛出:
javax.servlet.ServletException
getServlets
@Deprecated
public Enumeration getServlets()
- 已过时。
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getServlets
getServletNames
public Enumeration getServletNames()
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getServletNames
log
public void log(String msg)
- 指定者:
- 接口
javax.servlet.ServletContext 中的 log
log
@Deprecated
public void log(Exception exception,
String msg)
- 已过时。
- 指定者:
- 接口
javax.servlet.ServletContext 中的 log
log
public void log(String message,
Throwable throwable)
- 指定者:
- 接口
javax.servlet.ServletContext 中的 log
getRealPath
public String getRealPath(String path)
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getRealPath
getServerInfo
public String getServerInfo()
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getServerInfo
getInitParameter
public String getInitParameter(String name)
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getInitParameter
getInitParameterNames
public Enumeration getInitParameterNames()
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getInitParameterNames
getAttribute
public Object getAttribute(String name)
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getAttribute
getAttributeNames
public Enumeration getAttributeNames()
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getAttributeNames
setAttribute
public void setAttribute(String name,
Object object)
- 指定者:
- 接口
javax.servlet.ServletContext 中的 setAttribute
removeAttribute
public void removeAttribute(String name)
- 指定者:
- 接口
javax.servlet.ServletContext 中的 removeAttribute
getServletContextName
public String getServletContextName()
- 指定者:
- 接口
javax.servlet.ServletContext 中的 getServletContextName
setInitParameter
public void setInitParameter(String name,
String value)
setFullContextFileRepository
public void setFullContextFileRepository(org.tinygroup.fileresolver.FullContextFileRepository fullContextFileRepository)
Copyright © 2006–2014 开源组织. All rights reserved.