Package org.jvnet.glassfish.comms.clb.proxy

Examples of org.jvnet.glassfish.comms.clb.proxy.ProxyRequestHandler.recycle()


            if (remoteHost == null) {
                if (task.getResponse().getStatus() == 200) {
                    if(_logger.isLoggable(Level.FINE)){
                        _logger.log(Level.FINE, "clb.proxy.request_endpoint_null_200");
                    }
                    task.recycle();
                    objManager.offerTask(task, protocolInfo.isSecure);
                    return false;
                } else {
                    if(_logger.isLoggable(Level.FINE)){
                        _logger.log(Level.FINE, "clb.proxy.request_endpoint_null");
View Full Code Here


                }
            } else if (remoteHost.isLocal()) {
                if(_logger.isLoggable(Level.FINE)){
                    _logger.log(Level.FINE, "clb.proxy.request_local");
                }
                task.recycle();
                objManager.offerTask(task, protocolInfo.isSecure);
                return false;
            } else {
                if(_logger.isLoggable(Level.FINE)){
                    _logger.log(Level.FINE, "clb.proxy.request_remote");
View Full Code Here

                    if (_logger.isLoggable(Level.FINE)) {
                        _logger.log(Level.FINE,
                                "clb.proxy.http.handler_sent_error_response");
                    }
                }
                task.recycle();
                objManager.offerTask(task, protocolInfo.isSecure);
                if (_logger.isLoggable(Level.FINEST)) {
                    _logger.log(Level.FINEST, "clb.proxy.http.handler_released_resources");
                }
                protocolInfo.keepAlive = false;
View Full Code Here

        if (!((ClbProxyProtocolInfo) protocolInfo).cacheHandler) {
            protocolInfo.mappedProtocols.remove(protocolInfo.key);
            if (task != null) {               
                HttpProxy.getInstance().getConnectionManager().
                        removeClientEndpoint(task.getSelectionKey());
                task.recycle();
                objManager.offerTask(task, protocolInfo.isSecure);
            } else {
                _logger.log(Level.SEVERE, "clb.proxy.http.handler_release_fail");
            }
            ((ClbProxyProtocolInfo) protocolInfo).parkRequest = protocolInfo.keepAlive;
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.