hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abele Zhang" <abele.zh...@calix.com>
Subject RE: https persistent connection not happening.
Date Tue, 23 May 2006 04:06:11 GMT
Hi Roland, 

I searched the mail list, looks like there was a bug tickect for  not
having hashcode and equals. 
Here is the code snippet for equals and hash. I didn't change a thing,
not even the class name.  I just moved it to my own package. Is this
looks fine? 
    public boolean equals(Object obj) {
        return ((obj != null) &&

    public int hashCode() {
        return EasySSLProtocolSocketFactory.class.hashCode();

Thanks a lot. 


To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org

View raw message