Package com.axelor.common.http
Class ContentDisposition
java.lang.Object
com.axelor.common.http.ContentDisposition
This class provides some methods to deal with Content-Disposition as defined in RFC 6266
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder forContentDisposition
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContentDisposition.Builder
Builder for aContentDisposition
of type attachment.boolean
static ContentDisposition.Builder
formData()
Builder for aContentDisposition
of type form-data.getName()
getType()
int
hashCode()
static ContentDisposition.Builder
inline()
Builder for aContentDisposition
of type inline.toString()
Return the header value for this content disposition as defined in RFC 6266.
-
Field Details
-
FORM_DATA
form-data content-disposition type- See Also:
-
ATTACHMENT
attachment content-disposition type- See Also:
-
INLINE
inline content-disposition type- See Also:
-
-
Constructor Details
-
ContentDisposition
-
-
Method Details
-
getType
-
getFilename
-
getName
-
equals
-
hashCode
public int hashCode() -
toString
Return the header value for this content disposition as defined in RFC 6266. -
attachment
Builder for aContentDisposition
of type attachment. -
formData
Builder for aContentDisposition
of type form-data. -
inline
Builder for aContentDisposition
of type inline.
-