public class CustomServletConfig extends Object implements javax.servlet.ServletConfig
ServletConfig
for manually initializing servlets.Constructor and Description |
---|
CustomServletConfig(String servletName,
javax.servlet.ServletContext servletContext)
Deprecated.
since 5.3.3 - not used
|
CustomServletConfig(String servletName,
javax.servlet.ServletContext servletContext,
Map<String,String> initParameters) |
Modifier and Type | Method and Description |
---|---|
String |
getInitParameter(String name) |
Enumeration |
getInitParameterNames() |
javax.servlet.ServletContext |
getServletContext() |
String |
getServletName() |
public CustomServletConfig(String servletName, javax.servlet.ServletContext servletContext, Map<String,String> initParameters)
@Deprecated public CustomServletConfig(String servletName, javax.servlet.ServletContext servletContext)
public String getServletName()
getServletName
in interface javax.servlet.ServletConfig
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.ServletConfig
public String getInitParameter(String name)
getInitParameter
in interface javax.servlet.ServletConfig
public Enumeration getInitParameterNames()
getInitParameterNames
in interface javax.servlet.ServletConfig
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.