Top Description Fields Constructors Methods
org.java_websocket.exceptions

public Class IncompleteHandshakeException

extends RuntimeException
Class Inheritance

exception which indicates that a incomplete handshake was received

Field Summary

Modifier and TypeField and Description
private final int
preferredSize

attribute which size of handshake would have been preferred

private static final long

Constructor Summary

AccessConstructor and Description
public
IncompleteHandshakeException(int
the preferred size
preferredSize
)

constructor for a IncompleteHandshakeException

public
IncompleteHandshakeException()

constructor for a IncompleteHandshakeException

preferredSize will be 0

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the preferredSize
getPreferredSize
()

Getter preferredSize

Field Detail

preferredSizeback to summary
private final int preferredSize

attribute which size of handshake would have been preferred

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Serializable

Constructor Detail

IncompleteHandshakeExceptionback to summary
public IncompleteHandshakeException(int preferredSize)

constructor for a IncompleteHandshakeException

Parameters
preferredSize:int

the preferred size

IncompleteHandshakeExceptionback to summary
public IncompleteHandshakeException()

constructor for a IncompleteHandshakeException

preferredSize will be 0

Method Detail

getPreferredSizeback to summary
public int getPreferredSize()

Getter preferredSize

Returns:int

the preferredSize