public class FreemarkerServletContextWrapper extends ServletContextWrapper
Constructor and Description |
---|
FreemarkerServletContextWrapper(javax.servlet.ServletContext parentServletContext) |
Modifier and Type | Method and Description |
---|---|
URL |
getResource(String path) |
InputStream |
getResourceAsStream(String path) |
Set<String> |
getResourcePaths(String path) |
addFilter, addFilter, addFilter, addListener, addListener, addListener, addServlet, addServlet, addServlet, createFilter, createListener, createServlet, declareRoles, getAttribute, getAttributeNames, getClassLoader, getContext, getContextPath, getDefaultSessionTrackingModes, getEffectiveMajorVersion, getEffectiveMinorVersion, getEffectiveSessionTrackingModes, getFilterRegistration, getFilterRegistrations, getInitParameter, getInitParameterNames, getJspConfigDescriptor, getMajorVersion, getMimeType, getMinorVersion, getNamedDispatcher, getRealPath, getRequestDispatcher, getServerInfo, getServlet, getServletContextName, getServletNames, getServletRegistration, getServletRegistrations, getServlets, getSessionCookieConfig, log, log, log, removeAttribute, setAttribute, setInitParameter, setSessionTrackingModes
public FreemarkerServletContextWrapper(javax.servlet.ServletContext parentServletContext)
public URL getResource(String path) throws MalformedURLException
getResource
in interface javax.servlet.ServletContext
getResource
in class ServletContextWrapper
MalformedURLException
public InputStream getResourceAsStream(String path)
getResourceAsStream
in interface javax.servlet.ServletContext
getResourceAsStream
in class ServletContextWrapper
public Set<String> getResourcePaths(String path)
getResourcePaths
in interface javax.servlet.ServletContext
getResourcePaths
in class ServletContextWrapper
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.