public final class Protocol extends ExpandableStringEnum<Protocol>
| Modifier and Type | Field and Description |
|---|---|
static Protocol |
HTTP
Static value Http for Protocol.
|
static Protocol |
HTTPS
Static value Https for Protocol.
|
static Protocol |
ICMP
Static value Icmp for Protocol.
|
static Protocol |
TCP
Static value Tcp for Protocol.
|
| Constructor and Description |
|---|
Protocol() |
| Modifier and Type | Method and Description |
|---|---|
static Protocol |
fromString(String name)
Creates or finds a Protocol from its string representation.
|
static Collection<Protocol> |
values() |
equals, fromString, hashCode, toString, values, withNameValuepublic static final Protocol TCP
public static final Protocol HTTP
public static final Protocol HTTPS
public static final Protocol ICMP
public static Protocol fromString(String name)
name - a name to look forpublic static Collection<Protocol> values()
Copyright © 2019. All rights reserved.