Package com.axelor.common.http
Class ContentDisposition.Builder
java.lang.Object
com.axelor.common.http.ContentDisposition.Builder
- Enclosing class:
ContentDisposition
Builder for
ContentDisposition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the content dispositionSet the filename parameterSet the name parameter.
-
Constructor Details
-
Builder
Builder for the given content disposition type- Parameters:
type
- the content disposition type
-
-
Method Details
-
name
Set the name parameter.- Parameters:
name
- the name- Returns:
- the
Builder
-
filename
Set the filename parameter- Parameters:
filename
- the filename- Returns:
- the
Builder
-
build
Build the content disposition- Returns:
- the
ContentDisposition
-