
org.java_websocket.exceptions.IncompleteHandshakeException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Java-WebSocket Show documentation
Show all versions of Java-WebSocket Show documentation
A barebones WebSocket client and server implementation written 100% in Java
package org.java_websocket.exceptions;
public class IncompleteHandshakeException extends RuntimeException {
private static final long serialVersionUID = 7906596804233893092L;
private int newsize;
public IncompleteHandshakeException( int newsize ) {
this.newsize = newsize;
}
public IncompleteHandshakeException() {
this.newsize = 0;
}
public int getPreferedSize() {
return newsize;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy