public abstract ServletRequest doBefore(final ServletRequest servletRequest,final ServletResponse servletResponse) throws IOException, ServletException ;

public abstract ServletRequest doBefore ( final ServletRequest servletRequest , final ServletResponse servletResponse ) throws IOException , ServletException ;
do all before next item in chain .
