mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-10-03 23:53:15 -04:00
Added init param annotation.
This commit is contained in:
@@ -63,6 +63,7 @@ public class BrowserHelperFilter extends GenericFilter {
|
||||
* @throws ServletConfigException if the accept-mappings properties
|
||||
* file cannot be read.
|
||||
*/
|
||||
@InitParam(name = "accept-mappings-file")
|
||||
public void setAcceptMappingsFile(String pPropertiesFile) throws ServletConfigException {
|
||||
// NOTE: Format is:
|
||||
// <agent-name>=<reg-exp>
|
||||
@@ -157,6 +158,7 @@ public class BrowserHelperFilter extends GenericFilter {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pChain.doFilter(pRequest, pResponse);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user