Package io.micronaut.http.server.types
Interface CustomizableResponseType
- All Known Subinterfaces:
FileCustomizableResponseType
- All Known Implementing Classes:
StreamedFile
,SystemFile
public interface CustomizableResponseType
A type that needs special handling that may include modification of the response.
- Since:
- 1.0
- Author:
- James Kleeh
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
process
(MutableHttpResponse<?> response) Modify the response before it is written to the client.
-
Method Details
-
process
Modify the response before it is written to the client.- Parameters:
response
- The response to modify
-