Class WebApiStubContent

java.lang.Object
org.iplass.mtp.webapi.definition.WebApiStubContent
All Implemented Interfaces:
Serializable

public class WebApiStubContent extends Object implements Serializable
WebAPI スタブコンテンツ

WebAPI スタブコンテンツを管理します。

See Also:
  • Constructor Details

    • WebApiStubContent

      public WebApiStubContent()
  • Method Details

    • getContentType

      public String getContentType()
      ContentType を取得します。

      getContent() で取得可能なコンテンツの ContentType です。

      Returns:
      contentType ContentType
    • setContentType

      public void setContentType(String contentType)
      ContentType を設定します。

      getContent() で取得可能なコンテンツの ContentType です。

      Parameters:
      contentType - セットする contentType
    • getLabel

      public String getLabel()
      ラベルを取得します。

      本スタブコンテンツの識別用です。

      Returns:
      label ラベル
    • setLabel

      public void setLabel(String label)
      ラベルを設定します。

      本スタブコンテンツの識別用です。

      Parameters:
      label - ラベル
    • getContent

      public String getContent()
      コンテンツを取得します。

      スタブレスポンスとして返却するコンテンツです。

      Returns:
      content コンテンツ
    • setContent

      public void setContent(String content)
      コンテンツを設定します。

      スタブレスポンスとして返却するコンテンツです。 getContentType() で設定した ContentType に応じたコンテンツを設定してください。

      Parameters:
      content - コンテンツ