Class McpProgressNotification
java.lang.Object
dev.langchain4j.mcp.client.progress.McpProgressNotification
Represents a progress notification received from an MCP server,
sent in response to a request that included a progress token.
-
Constructor Summary
ConstructorsConstructorDescriptionMcpProgressNotification(String progressToken, double progress, Double total, String message) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic McpProgressNotificationfromJson(com.fasterxml.jackson.databind.JsonNode params) Parses a McpProgressNotification from the contents of the 'params' object inside a 'notifications/progress' message.inthashCode()message()doubleprogress()toString()total()
-
Constructor Details
-
McpProgressNotification
-
-
Method Details
-
fromJson
Parses a McpProgressNotification from the contents of the 'params' object inside a 'notifications/progress' message. -
progressToken
-
progress
public double progress() -
total
-
message
-
equals
-
hashCode
-
toString
-