public enum Status extends Enum<Status>
Enum Constant and Description |
---|
BAD_REQUEST |
FORBIDDEN |
INTERNAL_ERROR |
NOT_FOUND |
NOT_IMPLEMENTED |
OTHER |
SUCCESS |
TIMEOUT |
TOO_LARGE |
UNAUTHORIZED |
UNAVAILABLE |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static Status |
from(io.netty.buffer.ByteBuf buffer) |
String |
toString() |
static Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status[] |
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 Status SUCCESS
public static final Status OTHER
public static final Status TIMEOUT
public static final Status INTERNAL_ERROR
public static final Status BAD_REQUEST
public static final Status FORBIDDEN
public static final Status TOO_LARGE
public static final Status NOT_IMPLEMENTED
public static final Status NOT_FOUND
public static final Status UNAVAILABLE
public static final Status UNAUTHORIZED
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static Status 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 Status from(io.netty.buffer.ByteBuf buffer) throws InvalidPacketException
InvalidPacketException
public void writeBson(org.bson.BsonWriter bsonWriter, SampleDatagramEnrichment enr)
Copyright © 2020. All rights reserved.