Commit 83f2580
committed
feat: add WebFlux transport support to WebMVC integration tests
- Enhance McpStreamableServerSession error handling with proper JSON-RPC error responses
- Add mcp-spring-webflux test dependency to webmvc module
- Refactor WebMvcStreamableIntegrationTests to use parameterized tests
- Support testing with both HttpClient and WebFlux transports
- Add WebClientStreamableHttpTransport integration
- Improve error handling in McpStreamableServerSession
- Add proper timeout configurations for test clients
- Clean up test structure and imports organization
This enables comprehensive testing of WebMVC functionality with multiple
transport mechanisms, ensuring compatibility across different client types.
Signed-off-by: Christian Tzolov <[email protected]>1 parent 13650ee commit 83f2580
File tree
3 files changed
+158
-75
lines changed- mcp-spring/mcp-spring-webmvc
- src/test/java/io/modelcontextprotocol/server
- mcp/src/main/java/io/modelcontextprotocol/spec
3 files changed
+158
-75
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
42 | 49 | | |
43 | 50 | | |
44 | 51 | | |
| |||
0 commit comments