Examples of doHead()


Examples of org.apache.cocoon.rest.controller.method.Head.doHead()

        @Override
        public RestResponse execute(Object controller) throws Exception {
            if (controller instanceof Head) {
                Head head = (Head) controller;
                return head.doHead();
            }

            // According to http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html a
            // HEAD response behaves exactly the same as a GET request except that
            // no content is sent.
View Full Code Here

Examples of org.apache.cocoon.rest.controller.method.Head.doHead()

        @Override
        public RestResponse execute(Object controller) throws Exception {
            if (controller instanceof Head) {
                Head head = (Head) controller;
                return head.doHead();
            }
            return super.execute(controller);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.