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