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
Copy file name to clipboardExpand all lines: mcp-spring/mcp-spring-webmvc/src/main/java/io/modelcontextprotocol/server/transport/WebMvcSseServerTransportProvider.java
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -118,6 +118,11 @@ public class WebMvcSseServerTransportProvider implements McpServerTransportProvi
118
118
119
119
privateKeepAliveSchedulerkeepAliveScheduler;
120
120
121
+
/**
122
+
* sse session timeout
123
+
*/
124
+
privatefinalDurationsessionTimeout;
125
+
121
126
/**
122
127
* Constructs a new WebMvcSseServerTransportProvider instance.
123
128
* @param jsonMapper The McpJsonMapper to use for JSON serialization/deserialization
@@ -135,18 +140,20 @@ public class WebMvcSseServerTransportProvider implements McpServerTransportProvi
Copy file name to clipboardExpand all lines: mcp-spring/mcp-spring-webmvc/src/test/java/io/modelcontextprotocol/server/transport/WebMvcSseServerTransportProviderTests.java
0 commit comments