public interface ContentDisposition
ContentDisposition
object represents the HTTP
Content-Disposition header of a request. A content disposition
contains the name of the part and whether that part contains
the contents of a file. If the part represents a parameter then
the getName
can be used to determine the name, if
it represents a file then getFileName
is preferred.Modifier and Type | Method and Description |
---|---|
String |
getFileName()
This method is used to acquire the file name of the part.
|
String |
getName()
This method is used to acquire the name of the part.
|
boolean |
isFile()
This method is used to determine the type of a part.
|
String getName()
String getFileName()
boolean isFile()
Copyright © 2023. All rights reserved.