Interface FileCustomizableResponseType
- All Superinterfaces:
CustomizableResponseType
,MediaTypeProvider
- All Known Implementing Classes:
StreamedFile
,SystemFile
A special type for file handling.
- Since:
- 1.0
- Author:
- James Kleeh
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.Unused now, please follow RFC 6266 -
Method Summary
Methods inherited from interface io.micronaut.http.server.types.CustomizableResponseType
process
Methods inherited from interface io.micronaut.http.body.MediaTypeProvider
getMediaType
-
Field Details
-
ATTACHMENT_HEADER
Deprecated.Unused now, please follow RFC 6266- See Also:
-
-
Method Details
-
getLastModified
long getLastModified()- Returns:
- The last modified date of the file
-
getLength
long getLength()- Returns:
- The length of the file
-