public interface WebSocketRequest
| Modifier and Type | Method and Description |
|---|---|
org.smartboot.socket.util.Attachment |
getAttachment()
获取附件对象
|
int |
getFrameOpcode() |
String |
getHeader(String headName)
获取指定名称的Http Header值
|
Collection<String> |
getHeaderNames() |
Collection<String> |
getHeaders(String name) |
InetSocketAddress |
getLocalAddress()
获取套接字绑定的本地地址。
|
Map<String,String[]> |
getParameters() |
byte[] |
getPayload() |
String |
getQueryString() |
InetSocketAddress |
getRemoteAddress() |
String |
getRequestURI() |
String |
getRequestURL() |
boolean |
isSecure()
是否启动安全通信
|
void |
setAttachment(org.smartboot.socket.util.Attachment attachment)
存放附件,支持任意类型
|
int getFrameOpcode()
byte[] getPayload()
String getRequestURL()
String getRequestURI()
String getQueryString()
InetSocketAddress getRemoteAddress()
InetSocketAddress getLocalAddress()
boolean isSecure()
org.smartboot.socket.util.Attachment getAttachment()
void setAttachment(org.smartboot.socket.util.Attachment attachment)
attachment - 附件对象Collection<String> getHeaders(String name)
Collection<String> getHeaderNames()
Copyright © 2025. All rights reserved.