Skip to content

Commit c664b3f

Browse files
committed
调整 solon-net WebSocket:remoteAddress, localAddress 移除 throws IOException
1 parent 2f25bf0 commit c664b3f

File tree

1 file changed

+2
-2
lines changed
  • solon-jakarta-projects/solon-server/solon-server-jetty-jakarta/src/main/java/org/noear/solon/server/jetty/websocket

1 file changed

+2
-2
lines changed

solon-jakarta-projects/solon-server/solon-server-jetty-jakarta/src/main/java/org/noear/solon/server/jetty/websocket/WebSocketImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ public boolean isSecure() {
5353
}
5454

5555
@Override
56-
public InetSocketAddress remoteAddress() throws IOException {
56+
public InetSocketAddress remoteAddress() {
5757
return (InetSocketAddress) real.getRemoteSocketAddress();
5858
}
5959

6060
@Override
61-
public InetSocketAddress localAddress() throws IOException {
61+
public InetSocketAddress localAddress() {
6262
return (InetSocketAddress) real.getLocalSocketAddress();
6363
}
6464

0 commit comments

Comments
 (0)