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 Description voidcustomizeResponse(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
 
 - 
 
 -