Class StreamResultDefinition

  • All Implemented Interfaces:
    java.io.Serializable

    public class StreamResultDefinition
    extends ResultDefinition
    実行結果として、ストリーム(バイナリデータ、文字列データ)を出力するResult定義です。
    See Also:
    Serialized Form
    • Constructor Detail

      • StreamResultDefinition

        public StreamResultDefinition()
    • Method Detail

      • setAcceptRanges

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

        public java.lang.String getInputStreamAttributeName()
        Returns:
        inputStreamAttributeName
      • setInputStreamAttributeName

        public void setInputStreamAttributeName​(java.lang.String inputStreamAttributeName)
        Parameters:
        inputStreamAttributeName - セットする inputStreamAttributeName
      • getContentTypeAttributeName

        public java.lang.String getContentTypeAttributeName()
        Returns:
        contentTypeAttributeName
      • setContentTypeAttributeName

        public void setContentTypeAttributeName​(java.lang.String contentTypeAttributeName)
        Parameters:
        contentTypeAttributeName - セットする contentTypeAttributeName
      • getContentLengthAttributeName

        public java.lang.String getContentLengthAttributeName()
        Returns:
        contentLengthAttributeName
      • setContentLengthAttributeName

        public void setContentLengthAttributeName​(java.lang.String contentLengthAttributeName)
        Parameters:
        contentLengthAttributeName - セットする contentLengthAttributeName
      • isUseContentDisposition

        public boolean isUseContentDisposition()
        Returns:
        useContentDisposition
      • setUseContentDisposition

        public void setUseContentDisposition​(boolean useContentDisposition)
        Parameters:
        useContentDisposition - セットする useContentDisposition
      • getContentDispositionType

        public ContentDispositionType getContentDispositionType()
        Returns:
        contentDispositionType
      • setContentDispositionType

        public void setContentDispositionType​(ContentDispositionType contentDispositionType)
        Parameters:
        contentDispositionType - セットする contentDispositionType
      • getFileNameAttributeName

        public java.lang.String getFileNameAttributeName()
        Returns:
        fileNameAttributeName
      • setFileNameAttributeName

        public void setFileNameAttributeName​(java.lang.String fileNameAttributeName)
        Parameters:
        fileNameAttributeName - セットする fileNameAttributeName
      • summaryInfo

        public java.lang.String summaryInfo()
        Description copied from class: ResultDefinition
        各Resultのサマリー情報を返します。
        Specified by:
        summaryInfo in class ResultDefinition
        Returns:
        Resultのサマリー情報