public void to ( WebContext context ) { HttpServletRequest request = context . request ( ) ; HttpServletResponse response = context . response ( ) ; try { request . getRequestDispatcher ( path ) . forward ( request , response ) ; } catch ( ServletException e ) { throw new UncheckedException ( e ) ; } catch ( IOException e ) { throw new UncheckedException ( e ) ; } }
Forwards HTTP request to the specified path .