Class AFUNIXSocketFactory.URIScheme

All Implemented Interfaces:
AFSocketAddressFromHostname<AFUNIXSocketAddress>
Enclosing class:
AFUNIXSocketFactory

public static final class AFUNIXSocketFactory.URIScheme extends AFUNIXSocketFactory
A socket factory that handles special host names formatted as file:// URIs. The file:// URI may also be specified in URL-encoded format, i.e., file:%3A%2F%2F etc. You may also surround the URL with square brackets ("[" and "]"), whereas the closing bracket may be omitted. NOTE: In some circumstances it is recommended to use "[file:%3A%2F%2F(...)", i.e. encoded and without the closing bracket. Since this is an invalid hostname, it will not trigger a DNS lookup, but can still be used within a JDBC Connection URL.