public class CloseInfo extends Object
Constructor and Description |
---|
CloseInfo() |
CloseInfo(ByteBuffer payload,
boolean validate) |
CloseInfo(Frame frame) |
CloseInfo(Frame frame,
boolean validate) |
CloseInfo(int statusCode) |
CloseInfo(int statusCode,
String reason) |
Modifier and Type | Method and Description |
---|---|
CloseFrame |
asFrame() |
String |
getReason() |
int |
getStatusCode() |
boolean |
isAbnormal() |
boolean |
isHarsh() |
String |
toString() |
public CloseInfo()
public CloseInfo(ByteBuffer payload, boolean validate)
public CloseInfo(Frame frame)
public CloseInfo(Frame frame, boolean validate)
public CloseInfo(int statusCode)
public CloseInfo(int statusCode, String reason)
public CloseFrame asFrame()
public String getReason()
public int getStatusCode()
public boolean isHarsh()
public boolean isAbnormal()
Copyright © 1995-2015 Webtide. All Rights Reserved.