Package javax.servlet.http

Examples of javax.servlet.http.ProtocolHandler


        // Calls the protocol handler's init method if the request is marked to be upgraded
        if (request instanceof org.apache.catalina.connector.Request) {
            org.apache.catalina.connector.Request req = (org.apache.catalina.connector.Request) request;
            if (req.isUpgrade()) {
                ProtocolHandler handler = req.getProtocolHandler();
                if (handler != null) {
                    handler.init(
                            new WebConnectionImpl(
                            req.getInputStream(),
                            ((org.apache.catalina.connector.Response)req.getResponse()).getOutputStream()));
                } else {
                    log.log(Level.SEVERE, sm.getString("standardPipeline.protocolHandler.required"));
View Full Code Here

TOP

Related Classes of javax.servlet.http.ProtocolHandler

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.