public enum UrlDirection extends Enum<UrlDirection>
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static UrlDirection |
from(io.netty.buffer.ByteBuf buffer) |
String |
toString() |
static UrlDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UrlDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeBson(org.bson.BsonWriter bsonWriter,
SampleDatagramEnrichment enr) |
public static final UrlDirection src
public static final UrlDirection dst
public static UrlDirection[] values()
for (UrlDirection c : UrlDirection.values()) System.out.println(c);
public static UrlDirection valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static UrlDirection from(io.netty.buffer.ByteBuf buffer) throws InvalidPacketException
InvalidPacketException
public String toString()
toString
in class Enum<UrlDirection>
public void writeBson(org.bson.BsonWriter bsonWriter, SampleDatagramEnrichment enr)
Copyright © 2020. All rights reserved.