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
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    process(io.micronaut.http.MutableHttpResponse<?> response)
    Modify the response before it is written to the client.
  • Method Details

    • process

      default void process(io.micronaut.http.MutableHttpResponse<?> response)
      Modify the response before it is written to the client.
      Parameters:
      response - The response to modify