Package 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

  Modifier and Type
  Method
  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 Details

  - ### 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`