URLParser

com.github.mauricio.async.db.postgresql.util.URLParser$
object URLParser extends AbstractURIParser

The PostgreSQL URL parser.

Attributes

Graph
Supertypes
class AbstractURIParser
class Object
trait Matchable
class Any
Self type
URLParser.type

Members list

Value members

Inherited methods

def parse(url: String, charset: Charset): Configuration

Parses the provided url and returns a Configuration based upon it. On an error, a default configuration is returned.

Parses the provided url and returns a Configuration based upon it. On an error, a default configuration is returned.

Value parameters

charset

the charset to use.

url

the URL to parse.

Attributes

Returns

a Configuration.

Inherited from:
AbstractURIParser
def parseOrDie(url: String, charset: Charset): Configuration

Parses the provided url and returns a Configuration based upon it. On an error,

Parses the provided url and returns a Configuration based upon it. On an error,

Value parameters

charset

the charset to use.

url

the URL to parse.

Attributes

Returns

a Configuration.

Inherited from:
AbstractURIParser

Concrete fields

override val DEFAULT: Configuration

The default configuration for PostgreSQL.

The default configuration for PostgreSQL.

Attributes

Deprecated fields

val DEFAULT_PORT: String

Attributes

Deprecated
[Since version 0.2.20]
val PGDBNAME: String

Attributes

Deprecated
[Since version 0.2.20]
val PGHOST: String

Attributes

Deprecated
[Since version 0.2.20]
val PGPASSWORD: String

Attributes

Deprecated
[Since version 0.2.20]
val PGPORT: String

Attributes

Deprecated
[Since version 0.2.20]
val PGUSERNAME: String

Attributes

Deprecated
[Since version 0.2.20]