public class FilterRegistrationImpl extends Object implements javax.servlet.FilterRegistration, javax.servlet.FilterRegistration.Dynamic
Constructor and Description |
---|
FilterRegistrationImpl(FilterInfo filterInfo, Deployment deployment, ServletContextImpl servletContext) |
Modifier and Type | Method and Description |
---|---|
void | addMappingForServletNames(EnumSet<javax.servlet.DispatcherType> dispatcherTypes, boolean isMatchAfter, String... servletNames) |
void | addMappingForUrlPatterns(EnumSet<javax.servlet.DispatcherType> dispatcherTypes, boolean isMatchAfter, String... urlPatterns) |
String | getClassName() |
String | getInitParameter(String name) |
Map<String,String> | getInitParameters() |
String | getName() |
Collection<String> | getServletNameMappings() |
Collection<String> | getUrlPatternMappings() |
void | setAsyncSupported(boolean isAsyncSupported) |
boolean | setInitParameter(String name, String value) |
Set<String> | setInitParameters(Map<String,String> initParameters) |
public FilterRegistrationImpl(FilterInfo filterInfo, Deployment deployment, ServletContextImpl servletContext)
public void addMappingForServletNames(EnumSet<javax.servlet.DispatcherType> dispatcherTypes, boolean isMatchAfter, String... servletNames)
addMappingForServletNames
in interface javax.servlet.FilterRegistration
public Collection<String> getServletNameMappings()
getServletNameMappings
in interface javax.servlet.FilterRegistration
public void addMappingForUrlPatterns(EnumSet<javax.servlet.DispatcherType> dispatcherTypes, boolean isMatchAfter, String... urlPatterns)
addMappingForUrlPatterns
in interface javax.servlet.FilterRegistration
public Collection<String> getUrlPatternMappings()
getUrlPatternMappings
in interface javax.servlet.FilterRegistration
public String getName()
getName
in interface javax.servlet.Registration
public String getClassName()
getClassName
in interface javax.servlet.Registration
public boolean setInitParameter(String name, String value)
setInitParameter
in interface javax.servlet.Registration
public String getInitParameter(String name)
getInitParameter
in interface javax.servlet.Registration
public Set<String> setInitParameters(Map<String,String> initParameters)
setInitParameters
in interface javax.servlet.Registration
public Map<String,String> getInitParameters()
getInitParameters
in interface javax.servlet.Registration
public void setAsyncSupported(boolean isAsyncSupported)
setAsyncSupported
in interface javax.servlet.Registration.Dynamic
Copyright © 2020 JBoss by Red Hat. All rights reserved.