| Constructor and Description |
|---|
CloseFrame(int statusCode,
String statusMsg)
Creates a new frame with the specified status code and message.
|
| Modifier and Type | Method and Description |
|---|---|
CloseFrame |
copy() |
CloseFrame |
duplicate() |
CloseFrame |
retain() |
CloseFrame |
retain(int increment) |
int |
statusCode()
Returns the status code for this close frame.
|
String |
statusMsg()
Returns the status message for this close frame.
|
String |
toString() |
public CloseFrame(int statusCode,
String statusMsg)
statusCode - the status code for this close frame.statusMsg - the status message for this close frame.public int statusCode()
int the status code.public String statusMsg()
String the status message for this close frame.public String toString()
toString in class io.netty.buffer.DefaultByteBufHolderpublic CloseFrame copy()
public CloseFrame duplicate()
public CloseFrame retain()
public CloseFrame retain(int increment)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.