Class ConnectionString

  • public class ConnectionString
    extends Object
    Implements a ConnectionString.
    Michael Nitschinger
    • Constructor Detail

      • ConnectionString

        protected ConnectionString​(String input)
    • Method Detail

      • username

        public String username()
      • isValidDnsSrv

        public boolean isValidDnsSrv()
        Returns true if this connection string qualifies for DNS SRV resolving per spec.

        To be valid, the following criteria have to be met: only couchbase(s) schema, single host with no port specified and no IP address.

      • original

        public String original()
        Returns the unmodified, original connection string.