Class PreCompressedResourceSupplier

java.lang.Object
io.undertow.server.handlers.resource.PreCompressedResourceSupplier
All Implemented Interfaces:
ResourceSupplier

public class PreCompressedResourceSupplier extends Object implements ResourceSupplier
A resource supplier that allows pre-compressed resources to be served if the client accepts the request.

This is done by checking for the existence of a pre-compressed file, and if it exists and the client supports the encoding then the resource is returned for the pre compressed file

Author:
Stuart Douglas