public interface Frame
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getCommand()
获取命令, 如send...等。
|
java.lang.String |
getHeader(java.lang.String key)
获取head
|
java.util.Collection<KeyValue<java.lang.String>> |
getHeaderAll()
获取head集合
|
java.lang.String |
getPayload()
获取有效载荷
|
static FrameBuilder |
newBuilder()
新建构建器
|
java.lang.String getCommand()
Commands
java.lang.String getPayload()
java.lang.String getHeader(java.lang.String key)
key
- 参考#Headerjava.util.Collection<KeyValue<java.lang.String>> getHeaderAll()
static FrameBuilder newBuilder()