public class ServletContextImpl extends Object implements ServletContext
ServletContext implementation.ORDERED_LIBS, TEMPDIR| Constructor and Description |
|---|
ServletContextImpl(OfficeServletContext context,
net.officefloor.frame.api.manage.Office office)
Initiate.
|
public ServletContextImpl(OfficeServletContext context, net.officefloor.frame.api.manage.Office office)
context - OfficeServletContext to delegate functionality to
within the context of the Office.office - Office for context of this ServletContext.public String getContextPath()
getContextPath in interface ServletContextpublic ServletContext getContext(String uripath)
getContext in interface ServletContextpublic int getMajorVersion()
getMajorVersion in interface ServletContextpublic int getMinorVersion()
getMinorVersion in interface ServletContextpublic String getMimeType(String file)
getMimeType in interface ServletContextpublic Set getResourcePaths(String path)
getResourcePaths in interface ServletContextpublic URL getResource(String path) throws MalformedURLException
getResource in interface ServletContextMalformedURLExceptionpublic InputStream getResourceAsStream(String path)
getResourceAsStream in interface ServletContextpublic RequestDispatcher getRequestDispatcher(String path)
getRequestDispatcher in interface ServletContextpublic RequestDispatcher getNamedDispatcher(String name)
getNamedDispatcher in interface ServletContextpublic void log(String msg)
log in interface ServletContextpublic void log(String message, Throwable throwable)
log in interface ServletContextpublic String getRealPath(String path)
getRealPath in interface ServletContextpublic String getServerInfo()
getServerInfo in interface ServletContextpublic String getInitParameter(String name)
getInitParameter in interface ServletContextpublic Enumeration getInitParameterNames()
getInitParameterNames in interface ServletContextpublic void setAttribute(String name, Object object)
setAttribute in interface ServletContextpublic Object getAttribute(String name)
getAttribute in interface ServletContextpublic Enumeration getAttributeNames()
getAttributeNames in interface ServletContextpublic void removeAttribute(String name)
removeAttribute in interface ServletContextpublic String getServletContextName()
getServletContextName in interface ServletContextpublic Servlet getServlet(String name) throws ServletException
getServlet in interface ServletContextServletExceptionpublic Enumeration getServletNames()
getServletNames in interface ServletContextpublic Enumeration getServlets()
getServlets in interface ServletContextpublic void log(Exception exception, String msg)
log in interface ServletContextpublic FilterRegistration.Dynamic addFilter(String arg0, String arg1)
addFilter in interface ServletContextpublic FilterRegistration.Dynamic addFilter(String arg0, Filter arg1)
addFilter in interface ServletContextpublic FilterRegistration.Dynamic addFilter(String arg0, Class<? extends Filter> arg1)
addFilter in interface ServletContextpublic void addListener(String arg0)
addListener in interface ServletContextpublic <T extends EventListener> void addListener(T arg0)
addListener in interface ServletContextpublic void addListener(Class<? extends EventListener> arg0)
addListener in interface ServletContextpublic ServletRegistration.Dynamic addServlet(String arg0, String arg1)
addServlet in interface ServletContextpublic ServletRegistration.Dynamic addServlet(String arg0, Servlet arg1)
addServlet in interface ServletContextpublic ServletRegistration.Dynamic addServlet(String arg0, Class<? extends Servlet> arg1)
addServlet in interface ServletContextpublic <T extends Filter> T createFilter(Class<T> arg0) throws ServletException
createFilter in interface ServletContextServletExceptionpublic <T extends EventListener> T createListener(Class<T> arg0) throws ServletException
createListener in interface ServletContextServletExceptionpublic <T extends Servlet> T createServlet(Class<T> arg0) throws ServletException
createServlet in interface ServletContextServletExceptionpublic void declareRoles(String... arg0)
declareRoles in interface ServletContextpublic ClassLoader getClassLoader()
getClassLoader in interface ServletContextpublic Set<SessionTrackingMode> getDefaultSessionTrackingModes()
getDefaultSessionTrackingModes in interface ServletContextpublic int getEffectiveMajorVersion()
getEffectiveMajorVersion in interface ServletContextpublic int getEffectiveMinorVersion()
getEffectiveMinorVersion in interface ServletContextpublic Set<SessionTrackingMode> getEffectiveSessionTrackingModes()
getEffectiveSessionTrackingModes in interface ServletContextpublic FilterRegistration getFilterRegistration(String arg0)
getFilterRegistration in interface ServletContextpublic Map<String,? extends FilterRegistration> getFilterRegistrations()
getFilterRegistrations in interface ServletContextpublic JspConfigDescriptor getJspConfigDescriptor()
getJspConfigDescriptor in interface ServletContextpublic ServletRegistration getServletRegistration(String arg0)
getServletRegistration in interface ServletContextpublic Map<String,? extends ServletRegistration> getServletRegistrations()
getServletRegistrations in interface ServletContextpublic SessionCookieConfig getSessionCookieConfig()
getSessionCookieConfig in interface ServletContextpublic boolean setInitParameter(String arg0, String arg1)
setInitParameter in interface ServletContextpublic void setSessionTrackingModes(Set<SessionTrackingMode> arg0)
setSessionTrackingModes in interface ServletContextpublic String getVirtualServerName()
getVirtualServerName in interface ServletContextCopyright © 2005–2015. All rights reserved.