修飾子と型 | クラスと説明 |
---|---|
static interface | ContentDisposition.Builder ContentDisposition の可変ビルダー。 |
修飾子と型 | メソッドと説明 |
---|---|
static ContentDisposition.Builder | attachment() 型 "attachment" の ContentDisposition のビルダーを返します。 |
static ContentDisposition.Builder | builder(StringSE type) ContentDisposition のビルダーを返します。 |
static ContentDisposition | empty() 空のコンテンツ処理を返します。 |
boolean | equals(ObjectSE other) |
static ContentDisposition.Builder | formData() 型 "form-data" の ContentDisposition のビルダーを返します。 |
CharsetSE | getCharset() filename * パラメーターで定義された文字セットを返します。定義されていない場合は null を返します。 |
ZonedDateTimeSE | getCreationDate() 使用すべきではありません。 5.2.3 以降は RFC 6266、付録 B に準拠していますが、将来のリリースで削除される予定です。 |
StringSE | getFilename() RFC 2047 に基づいて BASE64 エンコーディングからデコードされた可能性のある filename パラメーターの値、または RFC5987 で定義されているようにデコードされた可能性のある filename * パラメーターの値を返します。 |
ZonedDateTimeSE | getModificationDate() 使用すべきではありません。 5.2.3 以降は RFC 6266、付録 B に準拠していますが、将来のリリースで削除される予定です。 |
StringSE | getName() name パラメーターの値、または定義されていない場合は null を返します。 |
ZonedDateTimeSE | getReadDate() 使用すべきではありません。 5.2.3 以降は RFC 6266、付録 B に準拠していますが、将来のリリースで削除される予定です。 |
LongSE | getSize() 使用すべきではありません。 5.2.3 以降は RFC 6266、付録 B に準拠していますが、将来のリリースで削除される予定です。 |
StringSE | getType() 廃棄型を返します。 |
int | hashCode() |
static ContentDisposition.Builder | inline() 型「インライン」の ContentDisposition のビルダーを返します。 |
boolean | isAttachment() type が「アタッチメント」かどうかを返します。 |
boolean | isFormData() type が "form-data" であるかどうかを返します。 |
boolean | isInline() type が「インライン」であるかどうかを返します。 |
static ContentDisposition | parse(StringSE contentDisposition) RFC 2183 で定義されている Content-Disposition ヘッダー値を解析します。 |
StringSE | toString() RFC 6266 で定義されているこのコンテンツの後処理のヘッダー値を返します。 |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public boolean isAttachment()
type
が「アタッチメント」かどうかを返します。public boolean isFormData()
type
が "form-data" であるかどうかを返します。public boolean isInline()
type
が「インライン」であるかどうかを返します。@Nullable public StringSE getType()
isAttachment()
, isFormData()
, isInline()
@Nullable public StringSE getFilename()
@Nullable public CharsetSE getCharset()
null
を返します。@DeprecatedSE @Nullable public LongSE getSize()
null
の値を返します。@DeprecatedSE @Nullable public ZonedDateTimeSE getCreationDate()
null
を返します。@DeprecatedSE @Nullable public ZonedDateTimeSE getModificationDate()
null
を返します。@DeprecatedSE @Nullable public ZonedDateTimeSE getReadDate()
null
を返します。public int hashCode()
ObjectSE
の hashCodeSE
public StringSE toString()
ObjectSE
の toStringSE
parse(String)
public static ContentDisposition.Builder attachment()
ContentDisposition
のビルダーを返します。public static ContentDisposition.Builder formData()
ContentDisposition
のビルダーを返します。public static ContentDisposition.Builder inline()
ContentDisposition
のビルダーを返します。public static ContentDisposition.Builder builder(StringSE type)
ContentDisposition
のビルダーを返します。type
- インライン、添付ファイル、フォームデータなどの処理型 public static ContentDisposition empty()
public static ContentDisposition parse(StringSE contentDisposition)
contentDisposition
- Content-Disposition ヘッダー値 toString()