Skip to content

Commit f2de40a

Browse files
committed
Changed package after dependency update.
1 parent 3e2b90d commit f2de40a

File tree

7 files changed

+13
-8
lines changed

7 files changed

+13
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ hs_err_pid*
2727

2828
/**/_dev
2929
/**/*_dev.*
30+
/build

src/main/java/com/jkoolcloud/client/api/service/JKConnectionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
package com.jkoolcloud.client.api.service;
1717

18-
import javax.websocket.CloseReason;
18+
import jakarta.websocket.CloseReason;
1919

2020
/**
2121
* Implementations of this interface defines a way to handle WebSocket connection events.

src/main/java/com/jkoolcloud/client/api/service/JKRetryConnectionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import java.util.concurrent.ScheduledExecutorService;
2020
import java.util.concurrent.TimeUnit;
2121

22-
import javax.websocket.CloseReason;
22+
import jakarta.websocket.CloseReason;
2323

2424
/**
2525
* This class listens for WebSocket communication events and recovers connection and subscriptions using a timer.

src/main/java/com/jkoolcloud/client/api/service/JKTraceConnectionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import java.io.PrintStream;
1919
import java.util.concurrent.atomic.AtomicLong;
2020

21-
import javax.websocket.CloseReason;
21+
import jakarta.websocket.CloseReason;
2222

2323
/**
2424
* This class implements a simple {@code JKConnectionHandler} with trace messages.

src/main/java/com/jkoolcloud/client/api/service/JKWSClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import java.net.URI;
2020
import java.net.URISyntaxException;
2121

22-
import javax.websocket.*;
22+
import jakarta.websocket.*;
2323

2424
/**
2525
* This class implements WebSockets communication, message and error handling.

src/main/java/com/jkoolcloud/client/api/service/JKWSHandler.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
*/
1616
package com.jkoolcloud.client.api.service;
1717

18-
import javax.websocket.CloseReason;
19-
import javax.websocket.Session;
18+
import jakarta.websocket.CloseReason;
19+
import jakarta.websocket.Session;
2020

2121
/**
2222
* This interface defines handling of messages and other WebSocket events.
@@ -26,7 +26,10 @@
2626
*/
2727
public interface JKWSHandler {
2828
void onMessage(JKWSClient client, String message);
29+
2930
void onOpen(JKWSClient client, Session userSession);
31+
3032
void onClose(JKWSClient client, Session userSession, CloseReason reason);
33+
3134
void onError(JKWSClient client, Session userSession, Throwable ex);
3235
}

src/main/java/com/jkoolcloud/client/api/service/WSClientHandler.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
import javax.json.Json;
2121
import javax.json.JsonObject;
2222
import javax.json.JsonReader;
23-
import javax.websocket.CloseReason;
24-
import javax.websocket.Session;
23+
24+
import jakarta.websocket.CloseReason;
25+
import jakarta.websocket.Session;
2526

2627
/**
2728
* This class implements a WebSocket message and connection handler.

0 commit comments

Comments
 (0)