Package com.pugh.sockso.templates.web

Examples of com.pugh.sockso.templates.web.TBurp


    protected void showBurp() throws IOException, SQLException {
       
        final Request req = getRequest();
        final Response res = getResponse();

        final TBurp tpl = new TBurp();
        tpl.setHost( req.getHeader("Host") );
        tpl.setReferer( req.getHeader("Referer") );
        tpl.setException( e );
        tpl.setMessage( e.getMessage() );
        tpl.setShowStackTrace( showStackTrace );
        tpl.setStatusCode( e.getStatusCode() );
       
        res.setStatus( e.getStatusCode() );
        res.showHtml( tpl );

    }
View Full Code Here

TOP

Related Classes of com.pugh.sockso.templates.web.TBurp

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.