class SolonServletHandler extends HttpServlet {

    protected void preHandle(Context ctx) throws IOException{

    }

    @Override
    protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {<FILL_FUNCTION_BODY>}
}

        SolonServletContext ctx = new SolonServletContext(request, response);
        ctx.contentType("text/plain;charset=UTF-8");

        preHandle(ctx);

        Solon.app().tryHandle(ctx);

        if(ctx.innerIsAsync() == false){
            ctx.innerCommit();
        }
    
<methods>public void <init>() ,public void service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) throws javax.servlet.ServletException, java.io.IOException<variables>private static final java.lang.String HEADER_IFMODSINCE,private static final java.lang.String HEADER_LASTMOD,private static final java.lang.String LSTRING_FILE,private static final java.lang.String METHOD_DELETE,private static final java.lang.String METHOD_GET,private static final java.lang.String METHOD_HEAD,private static final java.lang.String METHOD_OPTIONS,private static final java.lang.String METHOD_POST,private static final java.lang.String METHOD_PUT,private static final java.lang.String METHOD_TRACE,private static java.util.ResourceBundle lStrings