public class CloseFrame extends FrameRfc6455
| Modifier | Constructor and Description |
|---|---|
|
CloseFrame()
Instantiates a new close frame.
|
protected |
CloseFrame(FrameHeaderRfc6455 header,
byte[] bodyData)
Instantiates a new connection close frame.
|
|
CloseFrame(int statusCode,
String reasonText) |
| Modifier and Type | Method and Description |
|---|---|
String |
getReasonText() |
int |
getStatusCode() |
isContinuationFrame, mask, toByteBuffer, unmaskgetContents, getContentsLength, getHeader, readContents, readContents, setContents, setHeaderprotected CloseFrame(FrameHeaderRfc6455 header, byte[] bodyData)
header - the headerbodyData - the contents datapublic CloseFrame()
public CloseFrame(int statusCode,
String reasonText)
public int getStatusCode()
public String getReasonText()
Copyright © 2021. All rights reserved.