Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
- try {
- doFilter((HttpServletRequest)request, (HttpServletResponse)response, chain);
- } catch (ClassCastException e) {
- throw new ServletException("non-HTTP request or response");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement