Uses of Class
java.net.UnknownHostException
| Package | Description |
|---|---|
| com.squareup.okhttp | |
| com.squareup.okhttp.internal | |
| java.net | |
| javax.net | |
| javax.net.ssl |
This package provides classes and interfaces needed to use the Secure
Sockets Layer (SSL) protocol and the successor Transport Layer
Security (TLS) protocol.
|
| libcore.io | |
| org.apache.http.conn.scheme | |
| org.apache.http.conn.ssl |
TLS/SSL specific parts of the HttpConn API.
|
| org.conscrypt |
-
Uses of UnknownHostException in com.squareup.okhttp
Constructors in com.squareup.okhttp that throw UnknownHostException Constructor Description Address(String uriHost, int uriPort, SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier, OkAuthenticator authenticator, Proxy proxy, List<String> transports) -
Uses of UnknownHostException in com.squareup.okhttp.internal
Methods in com.squareup.okhttp.internal that throw UnknownHostException Modifier and Type Method Description InetAddress[]Dns. getAllByName(String host) -
Uses of UnknownHostException in java.net
Methods in java.net that throw UnknownHostException Modifier and Type Method Description static InetAddress[]InetAddress. getAllByName(String host)Gets all IP addresses associated with the givenhostidentified by name or literal IP address.static Inet6AddressInet6Address. getByAddress(String host, byte[] addr, int scope_id)Constructs an IPv6 address according to the givenhost,addrandscope_id.static Inet6AddressInet6Address. getByAddress(String host, byte[] addr, NetworkInterface nif)Gets an IPv6 address instance according to the givenhost,addrandnif.static InetAddressInetAddress. getByAddress(byte[] ipAddress)Equivalent togetByAddress(null, ipAddress).static InetAddressInetAddress. getByAddress(String hostName, byte[] ipAddress)Returns anInetAddresscorresponding to the given network-order bytesipAddressandscopeId.static InetAddressInetAddress. getByName(String host)Returns the address of a host according to the given host string namehost.static InetAddressInetAddress. getLocalHost()Returns anInetAddressfor the local host if possible, or the loopback address otherwise.Constructors in java.net that throw UnknownHostException Constructor Description Socket(String dstName, int dstPort)Creates a new streaming socket connected to the target host specified by the parametersdstNameanddstPort. -
Uses of UnknownHostException in javax.net
Methods in javax.net that throw UnknownHostException Modifier and Type Method Description abstract SocketSocketFactory. createSocket(String host, int port)Creates a new socket which is connected to the remote host specified by the parametershostandport.abstract SocketSocketFactory. createSocket(String host, int port, InetAddress localHost, int localPort)Creates a new socket which is connected to the remote host specified by the parametershostandport. -
Uses of UnknownHostException in javax.net.ssl
Constructors in javax.net.ssl that throw UnknownHostException Constructor Description SSLSocket(String host, int port)Only to be used by subclasses.SSLSocket(String host, int port, InetAddress clientAddress, int clientPort)Only to be used by subclasses. -
Uses of UnknownHostException in libcore.io
Methods in libcore.io that return UnknownHostException Modifier and Type Method Description UnknownHostExceptionGaiException. rethrowAsUnknownHostException()UnknownHostExceptionGaiException. rethrowAsUnknownHostException(String detailMessage)Methods in libcore.io that throw UnknownHostException Modifier and Type Method Description UnknownHostExceptionGaiException. rethrowAsUnknownHostException()UnknownHostExceptionGaiException. rethrowAsUnknownHostException(String detailMessage) -
Uses of UnknownHostException in org.apache.http.conn.scheme
Methods in org.apache.http.conn.scheme that throw UnknownHostException Modifier and Type Method Description SocketSocketFactory. connectSocket(Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params)Connects a socket to the given host.SocketLayeredSocketFactory. createSocket(Socket socket, String host, int port, boolean autoClose)Returns a socket connected to the given host that is layered over an existing socket. -
Uses of UnknownHostException in org.apache.http.conn.ssl
Methods in org.apache.http.conn.ssl that throw UnknownHostException Modifier and Type Method Description SocketSSLSocketFactory. createSocket(Socket socket, String host, int port, boolean autoClose) -
Uses of UnknownHostException in org.conscrypt
Methods in org.conscrypt that throw UnknownHostException Modifier and Type Method Description SocketOpenSSLSocketFactoryImpl. createSocket(String host, int port)SocketOpenSSLSocketFactoryImpl. createSocket(String host, int port, InetAddress localHost, int localPort)SocketSSLSocketFactoryImpl. createSocket(String host, int port)SocketSSLSocketFactoryImpl. createSocket(String host, int port, InetAddress localHost, int localPort)Constructors in org.conscrypt that throw UnknownHostException Constructor Description SSLSocketImpl(String host, int port, InetAddress localHost, int localPort, SSLParametersImpl sslParameters)ConstructorSSLSocketImpl(String host, int port, SSLParametersImpl sslParameters)Constructor