Package com.volantis.shared.net.url.http

Examples of com.volantis.shared.net.url.http.HttpResponseHeaderAccessor


        responses.put("cache-control", "max-age=" + LOCAL_FILE_MAX_AGE);
        responses.put("expires", format.format(
            new Date(now.getTime() + LOCAL_FILE_MAX_AGE * 1000)));

        // create a "fake" accessor
        HttpResponseHeaderAccessor accessor = new HttpResponseHeaderAccessor() {

            // javadoc inherited
            public String getProtocol() {
                return "HTTP";
            }
View Full Code Here

TOP

Related Classes of com.volantis.shared.net.url.http.HttpResponseHeaderAccessor

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.