TypedInvokeResponse<T> クラス
- java.
lang. Object - com.
microsoft. bot. builder. InvokeResponse - com.
microsoft. bot. builder. TypedInvokeResponse<T>
- com.
- com.
型パラメーター
- T
TypedInvokeResponse の本体の型。
public class TypedInvokeResponse
extends InvokeResponse
HTTP 状態コードと JSON シリアル化可能オブジェクトを含むタプル クラス。 HTTP 状態コードは、呼び出しアクティビティのシナリオで、結果として得られる POST で設定される内容です。 結果の POST の本文は、Body プロパティから JSON でシリアル化されたコンテンツになります。
コンストラクターの概要
| コンストラクター | 説明 |
|---|---|
| TypedInvokeResponse(int withStatus, T withBody) |
Invoke |
メソッドの概要
| 修飾子と型 | メソッドと説明 |
|---|---|
| T |
getTypedBody()
応答の本文の内容を取得します。 |
| void |
setTypedBody(T withBody)
型指定された値を持つ本文を設定します。 |
メソッドの継承元: InvokeResponse
メソッドの継承元: java.lang.Object
コンストラクターの詳細
TypedInvokeResponse
public TypedInvokeResponse(int withStatus, T withBody)
InvokeResponse の新しいインスタンスを初期化します。
パラメーター:
メソッドの詳細
getTypedBody
public T getTypedBody()
応答の本文の内容を取得します。
戻り値:
setTypedBody
public void setTypedBody(T withBody)
型指定された値を持つ本文を設定します。
パラメーター: