public static enum NanoWSD.WebSocketFrame.CloseCode extends Enum<NanoWSD.WebSocketFrame.CloseCode>
| Enum Constant and Description |
|---|
AbnormalClosure |
GoingAway |
InternalServerError |
InvalidFramePayloadData |
MandatoryExt |
MessageTooBig |
NormalClosure |
NoStatusRcvd |
PolicyViolation |
ProtocolError |
TLSHandshake |
UnsupportedData |
| Modifier and Type | Method and Description |
|---|---|
static NanoWSD.WebSocketFrame.CloseCode |
find(int value) |
int |
getValue() |
static NanoWSD.WebSocketFrame.CloseCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NanoWSD.WebSocketFrame.CloseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NanoWSD.WebSocketFrame.CloseCode NormalClosure
public static final NanoWSD.WebSocketFrame.CloseCode GoingAway
public static final NanoWSD.WebSocketFrame.CloseCode ProtocolError
public static final NanoWSD.WebSocketFrame.CloseCode UnsupportedData
public static final NanoWSD.WebSocketFrame.CloseCode NoStatusRcvd
public static final NanoWSD.WebSocketFrame.CloseCode AbnormalClosure
public static final NanoWSD.WebSocketFrame.CloseCode InvalidFramePayloadData
public static final NanoWSD.WebSocketFrame.CloseCode PolicyViolation
public static final NanoWSD.WebSocketFrame.CloseCode MessageTooBig
public static final NanoWSD.WebSocketFrame.CloseCode MandatoryExt
public static final NanoWSD.WebSocketFrame.CloseCode InternalServerError
public static final NanoWSD.WebSocketFrame.CloseCode TLSHandshake
public static NanoWSD.WebSocketFrame.CloseCode[] values()
for (NanoWSD.WebSocketFrame.CloseCode c : NanoWSD.WebSocketFrame.CloseCode.values()) System.out.println(c);
public static NanoWSD.WebSocketFrame.CloseCode 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 NanoWSD.WebSocketFrame.CloseCode find(int value)
public int getValue()
Copyright © 2012–2016 nanohttpd. All rights reserved.