org.apache.tapestry5.services.assets

## Interface ResponseCustomizer

-     public interface ResponseCustomizer

  Used to customize the response prior to streaming content to the client; typically this is used to set special headers.
  Since:
    5.4
  See Also:
    `StreamableResource.addResponseCustomizer(ResponseCustomizer)`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `customizeResponse(StreamableResource resource, Response response)` Invoked to customize the response; these are invoked in the order they are added to the StreamableResource.

- - ### Method Detail

    - #### customizeResponse

          void customizeResponse(StreamableResource resource,
                                 Response response)
                          throws IOException

      Invoked to customize the response; these are invoked in the order they are added to the StreamableResource.
      Throws:
        `IOException`

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.