Class VirtualHttpContentFactory

All Implemented Interfaces:
HttpContent.Factory, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle

@ManagedObject public class VirtualHttpContentFactory extends ContainerLifeCycle implements HttpContent.Factory
An HttpContent.Factory implementation which takes a Resource and fakes this resource as an entry in every directory. If any request is made for this resources file name, and it is not already present in that directory then the resource contained in this factory will be served instead.