public class WebSocketHandshake extends Object
| Constructor and Description |
|---|
WebSocketHandshake(URI url,
String protocol) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getHandshake() |
void |
verifyServerHandshakeHeaders(HashMap<String,String> headers) |
void |
verifyServerResponse(byte[] bytes) |
void |
verifyServerStatusLine(String statusLine) |
public byte[] getHandshake()
public void verifyServerResponse(byte[] bytes)
throws WebSocketException
WebSocketExceptionpublic void verifyServerStatusLine(String statusLine) throws WebSocketException
WebSocketExceptionpublic void verifyServerHandshakeHeaders(HashMap<String,String> headers) throws WebSocketException
WebSocketExceptionCopyright © 2017. All rights reserved.