Package com.twelvemonkeys.servlet
Class BrowserHelperFilter
- java.lang.Object
-
- com.twelvemonkeys.servlet.GenericFilter
-
- com.twelvemonkeys.servlet.BrowserHelperFilter
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Filter
,javax.servlet.FilterConfig
@Deprecated public class BrowserHelperFilter extends GenericFilter
Deprecated.BrowserHelperFilter- Version:
- $Id: BrowserHelperFilter.java#1 $
- Author:
- Harald Kuhr
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
HTTP_HEADER_USER_AGENT
Deprecated.-
Fields inherited from class com.twelvemonkeys.servlet.GenericFilter
oncePerRequest
-
-
Constructor Summary
Constructors Constructor Description BrowserHelperFilter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
doFilterImpl(javax.servlet.ServletRequest pRequest, javax.servlet.ServletResponse pResponse, javax.servlet.FilterChain pChain)
Deprecated.Invoked once, or each time a request/response pair is passed through the chain, depending on theGenericFilter.oncePerRequest
member variable.void
init()
Deprecated.A convenience method which can be overridden so that there's no need to callsuper.init(config)
.void
setAcceptMappingsFile(java.lang.String pPropertiesFile)
Deprecated.Sets the accept-mappings for this filter-
Methods inherited from class com.twelvemonkeys.servlet.GenericFilter
destroy, doFilter, getFilterConfig, getFilterName, getInitParameter, getInitParameterNames, getServletContext, init, log, log, setFilterConfig, setOncePerRequest
-
-
-
-
Field Detail
-
HTTP_HEADER_USER_AGENT
protected static final java.lang.String HTTP_HEADER_USER_AGENT
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
setAcceptMappingsFile
@InitParam(name="accept-mappings-file") public void setAcceptMappingsFile(java.lang.String pPropertiesFile) throws ServletConfigException
Deprecated.Sets the accept-mappings for this filter- Parameters:
pPropertiesFile
- name of accept-mappings properties files- Throws:
ServletConfigException
- if the accept-mappings properties file cannot be read.
-
init
public void init() throws javax.servlet.ServletException
Deprecated.Description copied from class:GenericFilter
A convenience method which can be overridden so that there's no need to callsuper.init(config)
.- Overrides:
init
in classGenericFilter
- Throws:
javax.servlet.ServletException
- if an error occurs during init- See Also:
GenericFilter.init(FilterConfig)
-
doFilterImpl
protected void doFilterImpl(javax.servlet.ServletRequest pRequest, javax.servlet.ServletResponse pResponse, javax.servlet.FilterChain pChain) throws java.io.IOException, javax.servlet.ServletException
Deprecated.Description copied from class:GenericFilter
Invoked once, or each time a request/response pair is passed through the chain, depending on theGenericFilter.oncePerRequest
member variable.- Specified by:
doFilterImpl
in classGenericFilter
- Parameters:
pRequest
- the servlet requestpResponse
- the servlet responsepChain
- the filter chain- Throws:
java.io.IOException
- if an I/O error occursjavax.servlet.ServletException
- if an exception occurs during the filter process- See Also:
GenericFilter.oncePerRequest
,doFilter
,Filter.doFilter
-
-