Commit 1b122c9
committed
refactor(mcp): replace HttpServletSseServerTransport with provider-based implementation
Introduces HttpServletSseServerTransportProvider as a replacement for HttpServletSseServerTransport,
following the provider pattern used by other transport implementations. The new implementation offers
the same functionality but with a more consistent API aligned with the McpServerTransportProvider interface.
- Mark HttpServletSseServerTransport as @deprecated (to be removed in 0.9.0)
- Add new HttpServletSseServerTransportProvider implementation
- Update test classes to use the new provider-based implementation
- Add separate test classes for deprecated implementation
Signed-off-by: Christian Tzolov <[email protected]>1 parent 3ef6884 commit 1b122c9
File tree
8 files changed
+994
-14
lines changed- mcp/src
- main/java/io/modelcontextprotocol/server/transport
- test/java/io/modelcontextprotocol
- client
- server
- transport
8 files changed
+994
-14
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
51 | | - | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
0 commit comments