Package org.jvnet.glassfish.comms.httplayers

Examples of org.jvnet.glassfish.comms.httplayers.HttpLayer


     */
    public void stopHttpStack() {
        Iterator<HttpLayer> i = httpLayerHandler.getLayers().iterator();

        while (i.hasNext()) {
            HttpLayer l = i.next();
            try {
                Method m = l.getClass().getMethod(HTTP_LAYER_STOP_METHOD, new Class[0]);
                m.invoke(l, new Object[0]);
            } catch (Exception e) {
                if (log.isLoggable(Level.WARNING)) {
                    log.log(Level.WARNING,
                            "sip.integration.http_stack_teardown_failure_continue",
View Full Code Here


            boolean status = true;
            int i;           
           
            for (i = 0; i < layers.size(); i++) {
                try {
                    HttpLayer layer = (HttpLayer) layers.get(i);
                   
                    if (_logger.isLoggable(Level.FINEST)){
                        _logger.log(Level.FINEST,
                                "clb.proxy.before_invoking_layer", layer.getClass().getName());
                    }                   
                    status = layer.invoke(request, response);
                    if (_logger.isLoggable(Level.FINEST)){
                        _logger.log(Level.FINEST,
                                "clb.proxy.after_invoking_layer", layer.getClass().getName());
                    }
                } catch (Exception ex) {
                    _logger.log(Level.SEVERE, "Setting 500 ", ex);
                    response.setStatus(500);
                    status = false;
View Full Code Here

TOP

Related Classes of org.jvnet.glassfish.comms.httplayers.HttpLayer

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.