クラス ContentDisposition
java.lang.ObjectSE
org.springframework.http.ContentDisposition
RFC 6266 で定義されている Content-Disposition 型とパラメーターの表現。
- 導入:
- 5.0
- 作成者:
- Sebastien Deleuze, Juergen Hoeller, Rossen Stoyanchev, Sergey Tsypanov
- 関連事項:
ネストされたクラスの要約
ネストされたクラス方法の概要
修飾子と型メソッド説明static ContentDisposition.Builder型 "attachment" のContentDispositionのビルダーを返します。static ContentDisposition.BuilderContentDispositionのビルダーを返します。static ContentDispositionempty()空のコンテンツ処理を返します。booleanstatic ContentDisposition.BuilderformData()型 "form-data" のContentDispositionのビルダーを返します。filename * パラメーターで定義された文字セットを返します。定義されていない場合はnullを返します。RFC 2047 に基づいて BASE64 エンコーディングからデコードされた可能性のある filename パラメーターの値、または RFC5987 で定義されているようにデコードされた可能性のある filename * パラメーターの値を返します。getName()name パラメーターの値、または定義されていない場合はnullを返します。getType()廃棄型を返します。inthashCode()static ContentDisposition.Builderinline()型「インライン」のContentDispositionのビルダーを返します。booleantypeが「アタッチメント」かどうかを返します。booleantypeが "form-data" であるかどうかを返します。booleanisInline()typeが「インライン」であるかどうかを返します。static ContentDispositionRFC 2183 で定義されている Content-Disposition ヘッダー値を解析します。toString()RFC 6266 で定義されているこのコンテンツの後処理のヘッダー値を返します。
メソッドの詳細
isAttachment
isFormData
isInline
getType
getName
getFilename
getCharset
equals
hashCode
toString
attachment
型 "attachment" のContentDispositionのビルダーを返します。- 導入:
- 5.3
formData
型 "form-data" のContentDispositionのビルダーを返します。- 導入:
- 5.3
inline
builder
ContentDispositionのビルダーを返します。- パラメーター:
type- インライン、添付ファイル、フォームデータなどの処理型- 戻り値:
- ビルダー
empty
空のコンテンツ処理を返します。parse
RFC 2183 で定義されている Content-Disposition ヘッダー値を解析します。- パラメーター:
contentDisposition- Content-Disposition ヘッダー値- 戻り値:
- 解析されたコンテンツの性質
- 関連事項: