Package de.xima.fc.web.common.multipart
Interface IMultipartBody<T>
-
- Type Parameters:
T- The type representing the data.
public interface IMultipartBody<T>Represents a multipart body with its content type, content length and body data.- Since:
- 8.5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tbody()Gets the BodyPublisher for the multipart body.longcontentLength()Gets the content length of the multipart body, if known, or -1 if unknown.StringcontentType()Gets the Content-Type header value for the multipart body.
-
-
-
Method Detail
-
contentLength
long contentLength()
Gets the content length of the multipart body, if known, or -1 if unknown.- Returns:
- The content length.
-
contentType
String contentType()
Gets the Content-Type header value for the multipart body.- Returns:
- The Content-Type header value.
-
body
T body()
Gets the BodyPublisher for the multipart body.- Returns:
- The BodyPublisher.
-
-