class UndertowServerAddJsp extends UndertowServer {

    @Override
    protected HttpHandler buildHandler() throws Exception{<FILL_FUNCTION_BODY>}
}

        DeploymentInfo builder = initDeploymentInfo();

        //添加jsp处理
        String fileRoot = getResourceRoot();
        builder.setResourceManager(new JspResourceManager(AppClassLoader.global(), fileRoot))
                .addServlet(new ServletInfo("ACTServlet", UtHttpContextServletHandler.class).addMapping("/").setAsyncSupported(true))
                .addServlet(JspServletEx.createServlet("JSPServlet", "*.jsp"));


        //添加taglib支持
        Map<String, TagLibraryInfo> tagLibraryMap = JspTldLocator.createTldInfos("WEB-INF","templates");
        JspServletBuilder.setupDeployment(builder, new HashMap<String, JspPropertyGroup>(), tagLibraryMap, new HackInstanceManager());



        //开始部署
        final ServletContainer container = ServletContainer.Factory.newInstance();
        DeploymentManager manager = container.addDeployment(builder);
        manager.deploy();

        return manager.start();
    
<methods>public non-sealed void <init>() ,public boolean isSecure() ,public void start(java.lang.String, int) ,public void stop() throws java.lang.Throwable<variables>protected io.undertow.Undertow _server,private boolean isSecure