org.java_websocket.drafts
Class Draft_17
java.lang.Object
org.java_websocket.drafts.Draft
org.java_websocket.drafts.Draft_10
org.java_websocket.drafts.Draft_17
public class Draft_17
- extends Draft_10
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Draft_17
public Draft_17()
acceptHandshakeAsServer
public Draft.HandshakeState acceptHandshakeAsServer(ClientHandshake handshakedata)
throws InvalidHandshakeException
- Overrides:
acceptHandshakeAsServer
in class Draft_10
- Throws:
InvalidHandshakeException
postProcessHandshakeRequestAsClient
public ClientHandshakeBuilder postProcessHandshakeRequestAsClient(ClientHandshakeBuilder request)
- Overrides:
postProcessHandshakeRequestAsClient
in class Draft_10
copyInstance
public Draft copyInstance()
- Description copied from class:
Draft
- Drafts must only be by one websocket at all. To prevent drafts to be used more than once the Websocket implementation should call this method in order to create a new usable version of a given draft instance.
The copy can be safely used in conjunction with a new websocket connection.
- Overrides:
copyInstance
in class Draft_10
Copyright © 2013 Pusher. All Rights Reserved.