httpservices/src/main/java/ucar/httpservices/HTTPSession.java
synchronized public void close()
    {
        if(this.closed)
            return; // multiple calls ok
        closed = true;
        for(HTTPMethod m : this.methods) {
            m.close(); // forcibly close; will invoke removemethod().
        }
        methods.clear();
    }
synchronized public void close()
    {
        if(this.closed)
            return; // multiple calls ok
        closed = true;
        for(HTTPMethod m : this.methods) {
            m.close(); // forcibly close; will invoke removemethod().
        }
        methods.clear();
    }
synchronized public void close ( ) { if ( this . closed ) return ; // multiple calls ok closed = true ; for ( HTTPMethod m : this . methods ) { m . close ( ) ; // forcibly close; will invoke removemethod(). } methods . clear ( ) ; }
Close the session. This implies closing
any open methods.
Close the session . This implies closing any open methods .