类 TextContent

java.lang.Object
com.ajaxjs.mcp.message.TextContent
所有已实现的接口:
Content

public class TextContent extends Object implements Content
Represents a text content.
  • 构造器详细资料

    • TextContent

      public TextContent()
  • 方法详细资料

    • getType

      public ContentType getType()
      从接口复制的说明: Content
      Returns the type of content.

      Can be used to cast the content to the correct type.

      指定者:
      getType 在接口中 Content
      返回:
      The type of content.