You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 96c0946
Browse filesBrowse the repository at this point in the historyBrowse files
Mark Pollack
committed
Null-mark the Jetty WebSocket and Streamable HTTP transport packages
Before-start and disconnected state is @nullable (and the WebSocket
transport's server field volatile, read once into a local), as are the
optional session headers and JSON-RPC params the router takes. A
session route scope exposes its always-present id through
boundSessionId(), and the servlet no longer writes a null exception
message into the response.
Copy file name to clipboardExpand all lines: acp-streamable-http-jetty/src/main/java/com/agentclientprotocol/sdk/agent/transport/SseOutboundStream.java
Copy file name to clipboardExpand all lines: acp-streamable-http-jetty/src/main/java/com/agentclientprotocol/sdk/agent/transport/StreamableHttpAcpAgentTransport.java
Copy file name to clipboardExpand all lines: acp-streamable-http-jetty/src/main/java/com/agentclientprotocol/sdk/agent/transport/StreamableHttpAcpServlet.java
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@
30
30
importjakarta.servlet.http.HttpServlet;
31
31
importjakarta.servlet.http.HttpServletRequest;
32
32
importjakarta.servlet.http.HttpServletResponse;
33
+
importorg.jspecify.annotations.Nullable;
33
34
importorg.slf4j.Logger;
34
35
importorg.slf4j.LoggerFactory;
35
36
importreactor.core.Disposable;
@@ -89,9 +90,9 @@ public class StreamableHttpAcpServlet extends HttpServlet {
Copy file name to clipboardExpand all lines: acp-streamable-http-jetty/src/main/java/com/agentclientprotocol/sdk/agent/transport/StreamableHttpConnection.java
+12-11Lines changed: 12 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@
24
24
importjakarta.servlet.AsyncContext;
25
25
importjakarta.servlet.http.HttpServletRequest;
26
26
importjakarta.servlet.http.HttpServletResponse;
27
+
importorg.jspecify.annotations.Nullable;
27
28
importorg.slf4j.Logger;
28
29
importorg.slf4j.LoggerFactory;
29
30
importreactor.core.publisher.Mono;
@@ -66,7 +67,7 @@ final class StreamableHttpConnection {
Copy file name to clipboardExpand all lines: acp-streamable-http-jetty/src/main/java/com/agentclientprotocol/sdk/agent/transport/StreamableHttpRouting.java
Copy file name to clipboardExpand all lines: acp-streamable-http-jetty/src/main/java/com/agentclientprotocol/sdk/agent/transport/StreamableHttpWebSocketConnection.java
Copy file name to clipboardExpand all lines: acp-websocket-jetty/src/main/java/com/agentclientprotocol/sdk/agent/transport/WebSocketAcpAgentTransport.java
0 commit comments