Code example for ConcurrentLinkedQueue

Methods: add

0
        bbuf.limit(size);
         
        if (size==_applicationBufferSize)
            _applicationBuffers.add(buffer);
        else if (size==_packetBufferSize)
            _packetBuffers.add(buffer);
        else  
            super.returnBuffer(buffer);
    } 
     
     
 
    /** 
     * Return the chain of X509 certificates used to negotiate the SSL Session. 
     * <p> 
     * Note: in order to do this we must convert a 
     * javax.security.cert.X509Certificate[], as used by JSSE to a 
     * java.security.cert.X509Certificate[],as required by the Servlet specs. 
     *  
     * @param sslSession 
     *                the javax.net.ssl.SSLSession to use as the source of the