Top Description Fields Constructors Methods
org.glassfish.tyrus.core

public Class ProtocolException

extends WebSocketException
Class Inheritance
Imports
jakarta.websocket.CloseReason

Represents issue with parsing or producing websocket frame.
Author
Pavel Bucek

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public
ProtocolException(String reasonPhrase)

Method Summary

Modifier and TypeMethod and Description
public CloseReason

Field Detail

reasonPhraseback to summary
private final String reasonPhrase

Constructor Detail

ProtocolExceptionback to summary
public ProtocolException(String reasonPhrase)

Method Detail

getCloseReasonback to summary
public CloseReason getCloseReason()

Implements abstract org.glassfish.tyrus.core.WebSocketException.getCloseReason.

Doc from org.glassfish.tyrus.core.WebSocketException.getCloseReason.

Get close reason.

Returns:CloseReason

close reason used when processing this exception.

Annotations
@Override