@ Override public void service ( final ServletRequest req , final ServletResponse resp ) throws ServletException , IOException { HttpServletRequest request = ( HttpServletRequest ) req ; HttpServletResponse response = ( HttpServletResponse ) resp ; final String beanName = request . getPathInfo ( ) . substring ( 1 ) ; // remove "/" htorp . process ( beanName , request , response ) ; }
Servlet to handle incoming Hessian requests and invoke HessianToJdonRequestProcessor .