Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
* SSE uri, or be a relative uri.
*
* @author Daniel Garnier-Moiroux
* @deprecated This validator is part of the deprecated SSE transport.
* @see HttpClientSseClientTransport
*/
@Deprecated
public final class DefaultSseMessageEndpointValidator implements SseMessageEndpointValidator {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,15 @@
* </ul>
*
* @author Christian Tzolov
* @deprecated This SSE transport is deprecated. Use Streamable HTTP instead, with
* {@link HttpClientStreamableHttpTransport}.
* @see io.modelcontextprotocol.spec.McpTransport
* @see io.modelcontextprotocol.spec.McpClientTransport
* @see <a href=
* "https://modelcontextprotocol.io/specification/2025-11-25/basic/transports#backwards-compatibility">Transports
* backwards compatibility</a>
*/
@Deprecated
public class HttpClientSseClientTransport implements McpClientTransport {

private static final String MCP_PROTOCOL_VERSION = ProtocolVersions.MCP_2024_11_05;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
* not valid.
*
* @author Daniel Garnier-Moiroux
* @deprecated This exception is part of the deprecated SSE transport.
* @see HttpClientSseClientTransport
*/
@Deprecated
public class InvalidSseMessageEndpointException extends Exception {

private final String messageEndpoint;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
* {@link InvalidSseMessageEndpointException} when then endpoint is not valid.
*
* @author Daniel Garnier-Moiroux
* @deprecated This validator is part of the deprecated SSE transport.
* @see HttpClientSseClientTransport
*/
@Deprecated
@FunctionalInterface
public interface SseMessageEndpointValidator {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
* </ul>
*
* @author Christian Tzolov
* @deprecated This SSE transport is deprecated. Use Streamable HTTP instead, with
* {@link HttpServletStreamableServerTransportProvider} or
* {@link HttpServletStatelessServerTransport}.
* @author Alexandros Pappas
* @see McpServerTransportProvider
* @see HttpServlet
* @see <a href=
* "https://modelcontextprotocol.io/specification/2025-11-25/basic/transports#backwards-compatibility">Transports
* backwards compatibility</a>
*/

@Deprecated
@WebServlet(asyncSupported = true)
public class HttpServletSseServerTransportProvider extends HttpServlet implements McpServerTransportProvider {

Expand Down
Loading