クラス StreamResultDefinition

java.lang.Object
org.iplass.mtp.web.actionmapping.definition.result.ResultDefinition
org.iplass.mtp.web.actionmapping.definition.result.StreamResultDefinition
すべての実装されたインタフェース:
java.io.Serializable

public class StreamResultDefinition
extends ResultDefinition
実行結果として、ストリーム(バイナリデータ、文字列データ)を出力するResult定義です。
関連項目:
直列化された形式
  • コンストラクタの詳細

  • メソッドの詳細

    • isAcceptRanges

      public boolean isAcceptRanges()
      戻り値:
      関連項目:
      setAcceptRanges(boolean)
    • setAcceptRanges

      public void setAcceptRanges​(boolean acceptRanges)
      当該のレスポンスでRangeヘッダによる分割コンテンツを可能とするか否かを設定。 Range対応する場合は、同一リクエストパラメータで同一の結果(コンテンツデータ)が返却されることが前提(参照透過性が必要)。 また、出力対象のコンテンツデータのサイズが既知(ストリーム対象のデータが、BinaryReference、byte[]もしくは、InputStreamかつrequestに"contentLength"のキー名でlongでサイズ指定されていること)であること。
      パラメータ:
      acceptRanges -
    • getInputStreamAttributeName

      public java.lang.String getInputStreamAttributeName()
      戻り値:
      inputStreamAttributeName
    • setInputStreamAttributeName

      public void setInputStreamAttributeName​(java.lang.String inputStreamAttributeName)
      パラメータ:
      inputStreamAttributeName - セットする inputStreamAttributeName
    • getContentTypeAttributeName

      public java.lang.String getContentTypeAttributeName()
      戻り値:
      contentTypeAttributeName
    • setContentTypeAttributeName

      public void setContentTypeAttributeName​(java.lang.String contentTypeAttributeName)
      パラメータ:
      contentTypeAttributeName - セットする contentTypeAttributeName
    • getContentLengthAttributeName

      public java.lang.String getContentLengthAttributeName()
      戻り値:
      contentLengthAttributeName
    • setContentLengthAttributeName

      public void setContentLengthAttributeName​(java.lang.String contentLengthAttributeName)
      パラメータ:
      contentLengthAttributeName - セットする contentLengthAttributeName
    • isUseContentDisposition

      public boolean isUseContentDisposition()
      戻り値:
      useContentDisposition
    • setUseContentDisposition

      public void setUseContentDisposition​(boolean useContentDisposition)
      パラメータ:
      useContentDisposition - セットする useContentDisposition
    • getContentDispositionType

      public ContentDispositionType getContentDispositionType()
      戻り値:
      contentDispositionType
    • setContentDispositionType

      public void setContentDispositionType​(ContentDispositionType contentDispositionType)
      パラメータ:
      contentDispositionType - セットする contentDispositionType
    • getFileNameAttributeName

      public java.lang.String getFileNameAttributeName()
      戻り値:
      fileNameAttributeName
    • setFileNameAttributeName

      public void setFileNameAttributeName​(java.lang.String fileNameAttributeName)
      パラメータ:
      fileNameAttributeName - セットする fileNameAttributeName
    • summaryInfo

      public java.lang.String summaryInfo()
      クラスからコピーされた説明: ResultDefinition
      各Resultのサマリー情報を返します。
      定義:
      summaryInfo クラス内 ResultDefinition
      戻り値:
      Resultのサマリー情報