
public class InitParamsServletConfig extends Object implements ServletConfig
ServletConfig to initialize the internal servlet using parameters
set through FreemarkerRenderer#setParameter(String, String).| Constructor and Description |
|---|
InitParamsServletConfig(Map<String,String> params,
ApplicationContext applicationContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getInitParameter(String name) |
Enumeration<String> |
getInitParameterNames() |
ServletContext |
getServletContext() |
String |
getServletName() |
public InitParamsServletConfig(Map<String,String> params, ApplicationContext applicationContext)
params - Configuration parameters.applicationContext - The application context.public String getInitParameter(String name)
getInitParameter in interface ServletConfigpublic Enumeration<String> getInitParameterNames()
getInitParameterNames in interface ServletConfigpublic ServletContext getServletContext()
getServletContext in interface ServletConfigpublic String getServletName()
getServletName in interface ServletConfigCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.