private ServletHandler configureHandler ( String servletClassName ) { ServletHandler handler = new ServletHandler ( ) ; handler . addServletWithMapping ( servletClassName , "/*" ) ; return handler ; }
Create configure and return the ServletHandler object .