de.roderick.weberknecht
Class WebSocketHandshake
java.lang.Object
de.roderick.weberknecht.WebSocketHandshake
public class WebSocketHandshake
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSocketHandshake
public WebSocketHandshake(URI url,
String protocol)
getHandshake
public byte[] getHandshake()
verifyServerResponse
public void verifyServerResponse(byte[] bytes)
throws WebSocketException
- Throws:
WebSocketException
verifyServerStatusLine
public void verifyServerStatusLine(String statusLine)
throws WebSocketException
- Throws:
WebSocketException
verifyServerHandshakeHeaders
public void verifyServerHandshakeHeaders(HashMap<String,String> headers)
throws WebSocketException
- Throws:
WebSocketException
Copyright © 2016. All rights reserved.