org.apache.sling.engine.impl.helper
Class SlingFilterConfig
java.lang.Object
org.apache.sling.engine.impl.helper.SlingFilterConfig
- All Implemented Interfaces:
- javax.servlet.FilterConfig
public class SlingFilterConfig
- extends Object
- implements javax.servlet.FilterConfig
Constructor Summary |
SlingFilterConfig(javax.servlet.ServletContext servletContext,
org.osgi.framework.ServiceReference reference,
String filterName)
Sets up this base configuration object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlingFilterConfig
public SlingFilterConfig(javax.servlet.ServletContext servletContext,
org.osgi.framework.ServiceReference reference,
String filterName)
- Sets up this base configuration object.
- Parameters:
servletContext
- The ServletContext
attached to this
configuration.reference
- The service reference providing the initialization
parameter values.filterName
- The name of this configuration.
getInitParameter
public String getInitParameter(String name)
- Specified by:
getInitParameter
in interface javax.servlet.FilterConfig
- See Also:
FilterConfig.getInitParameter(java.lang.String)
getInitParameterNames
public Enumeration<?> getInitParameterNames()
- Specified by:
getInitParameterNames
in interface javax.servlet.FilterConfig
- See Also:
FilterConfig.getInitParameterNames()
getServletContext
public javax.servlet.ServletContext getServletContext()
- Specified by:
getServletContext
in interface javax.servlet.FilterConfig
- See Also:
FilterConfig.getServletContext()
getName
public static String getName(org.osgi.framework.ServiceReference reference)
- Looks for a name value in the service reference properties. See the
class comment at the top for the list of properties checked by this
method.
getFilterName
public String getFilterName()
- Specified by:
getFilterName
in interface javax.servlet.FilterConfig
- See Also:
FilterConfig.getFilterName()
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.