Added in API level 24
StandardProtocolFamily
public
final
enum
StandardProtocolFamily
extends Enum<StandardProtocolFamily>
implements
ProtocolFamily
| java.lang.Object | ||
| ↳ | java.lang.Enum<java.net.StandardProtocolFamily> | |
| ↳ | java.net.StandardProtocolFamily | |
Defines the standard families of communication protocols.
Summary
Enum values | |
|---|---|
StandardProtocolFamily |
INET
Internet Protocol Version 4 (IPv4) |
StandardProtocolFamily |
INET6
Internet Protocol Version 6 (IPv6) |
Public methods | |
|---|---|
static
StandardProtocolFamily
|
valueOf(String name)
|
static
final
StandardProtocolFamily[]
|
values()
|
Inherited methods | |
|---|---|
java.lang.Enum
| |
java.lang.Object
| |
java.lang.Comparable
| |
java.net.ProtocolFamily
| |
Enum values
Public methods
valueOf
Added in API level 24
StandardProtocolFamily valueOf (String name)
| Parameters | |
|---|---|
name |
String
|
| Returns | |
|---|---|
StandardProtocolFamily |
|
Interfaces
Classes
- Authenticator
- CacheRequest
- CacheResponse
- ContentHandler
- CookieHandler
- CookieManager
- DatagramPacket
- DatagramSocket
- DatagramSocketImpl
- HttpCookie
- HttpURLConnection
- IDN
- Inet4Address
- Inet6Address
- InetAddress
- InetSocketAddress
- InterfaceAddress
- JarURLConnection
- MulticastSocket
- NetPermission
- NetworkInterface
- PasswordAuthentication
- Proxy
- ProxySelector
- ResponseCache
- SecureCacheResponse
- ServerSocket
- Socket
- SocketAddress
- SocketImpl
- SocketPermission
- StandardSocketOptions
- URI
- URL
- URLClassLoader
- URLConnection
- URLDecoder
- URLEncoder
- URLStreamHandler
Enums
Exceptions

