Top Description Fields Constructors Methods
org.apache.tomcat.websocket

public Class WsIOException

extends IOException
Class Inheritance
Imports
java.io.IOException, jakarta.websocket.CloseReason

Allows the WebSocket implementation to throw an IOException that includes a CloseReason specific to the error that can be passed back to the client.

Field Summary

Modifier and TypeField and Description
private final CloseReason
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public CloseReason

Field Detail

closeReasonback to summary
private final CloseReason closeReason
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Constructor Detail

WsIOExceptionback to summary
public WsIOException(CloseReason closeReason)

Method Detail

getCloseReasonback to summary
public CloseReason getCloseReason()