public boolean equals(Object o){
  if (!(o instanceof HttpPath))   return false;
  HttpPath test=(HttpPath)o;
  if (!_host.equals(test._host))   return false;
 else   if (_port != test._port)   return false;
 else   if (_query != null && !_query.equals(test._query))   return false;
 else   if (_query == null && test._query != null)   return false;
 else   return true;
}

public boolean equals ( Object o ) { if ( ! ( o instanceof HttpPath ) ) return false ; HttpPath test = ( HttpPath ) o ; if ( ! _host . equals ( test . _host ) ) return false ; else if ( _port != test . _port ) return false ; else if ( _query != null && ! _query . equals ( test . _query ) ) return false ; else if ( _query == null && test . _query != null ) return false ; else return true ; }
overrides equals to test for equality with an http path .
