Enum Class的使用
org.apache.pulsar.websocket.WebSocketError
使用WebSocketError的程序包
-
org.apache.pulsar.websocket中WebSocketError的使用
修饰符和类型方法说明static WebSocketErrorReturns the enum constant of this class with the specified name.static WebSocketError[]WebSocketError.values()Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明voidAbstractWebSocketHandler.close(WebSocketError error) voidAbstractWebSocketHandler.close(WebSocketError error, String message) -
org.apache.pulsar.websocket.data中WebSocketError的使用