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 Type
    Method
    Description
    default void
    Modify the response before it is written to the client.
  • Method Details

    • process

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