Package de.xima.fc.web.common.multipart
Interface BinaryMultipartContent<T>
-
- Type Parameters:
T- The type of the part's data.
public interface BinaryMultipartContent<T>Interface representing binary multipart content.- Since:
- 8.5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longcontentLength()Gets the content length of the binary content, if known, or -1 if unknown.StringcontentType()Gets the content type of the binary content.Tdata()Gets the data with the binary content.StringfileName()Gets the file name of the binary content.
-
-
-
Method Detail
-
contentLength
long contentLength()
Gets the content length of the binary content, if known, or -1 if unknown.- Returns:
- The content length.
-
contentType
String contentType()
Gets the content type of the binary content.- Returns:
- The content type.
-
data
T data()
Gets the data with the binary content.- Returns:
- The InputStream supplier.
-
fileName
String fileName()
Gets the file name of the binary content.- Returns:
- The filename.
-
-