public class MarkdownStreamControllerImpl extends Object implements MarkdownStreamController
| 构造器和说明 |
|---|
MarkdownStreamControllerImpl(OutboundSender sender,
String to,
OutboundRouting.ReceiveIdType idType,
SendOptions options) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
append(String chunk)
Append one generated chunk to the current streaming message.
|
String |
getMessageId()
Message id of the streaming message once it has been created.
|
SendResult |
run(MarkdownStreamProducer producer) |
void |
setContent(String full)
Replace the full accumulated content.
|
public MarkdownStreamControllerImpl(OutboundSender sender, String to, OutboundRouting.ReceiveIdType idType, SendOptions options)
public void append(String chunk)
MarkdownStreamControllerappend 在接口中 MarkdownStreamControllerpublic void setContent(String full)
MarkdownStreamControllersetContent 在接口中 MarkdownStreamControllerpublic String getMessageId()
MarkdownStreamControllergetMessageId 在接口中 MarkdownStreamControllerpublic SendResult run(MarkdownStreamProducer producer)
Copyright © 2026. All rights reserved.