Package org.apache.cocoon.environment.http

Examples of org.apache.cocoon.environment.http.HttpResponse


    protected boolean tryResetResponse(Map objectModel)
    {
        try {
            Object responseObj = objectModel.get(Constants.RESPONSE_OBJECT);
            if (responseObj instanceof HttpResponse) {
                HttpResponse response = (HttpResponse)responseObj;
                if (! response.isCommitted()) {
                    response.reset();
                    getLogger().debug("Response successfully reset");
                    return true;
                }
            }
        } catch(Exception e) {
View Full Code Here

TOP

Related Classes of org.apache.cocoon.environment.http.HttpResponse

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.