@Override public String toString(){
  if (isSSL != null) {
    return (isSSL ? "ldaps" : "ldap") + COLON_SLASH_SLASH + host+ SEPARATOR+ port;
  }
 else {
    return host + SEPARATOR + port;
  }
}

@ Override public String toString ( ) { if ( isSSL != null ) { return ( isSSL ? "ldaps" : "ldap" ) + COLON_SLASH_SLASH + host + SEPARATOR + port ; } else { return host + SEPARATOR + port ; } }
returns a string representation of this ldapurl instance . if the scheme has been provided it will be part of the representation as well , otherwise just the simple host : port format will be returned .
