Class ResourceContentFactory

  • All Implemented Interfaces:
    HttpContent.ContentFactory

    public class ResourceContentFactory
    extends java.lang.Object
    implements HttpContent.ContentFactory
    A HttpContent.Factory for transient content (not cached). The HttpContent's created by this factory are not intended to be cached, so memory limits for individual HttpOutput streams are enforced.
    • Constructor Detail

      • ResourceContentFactory

        public ResourceContentFactory​(org.eclipse.jetty.util.resource.ResourceFactory factory,
                                      MimeTypes mimeTypes,
                                      CompressedContentFormat[] precompressedFormats)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object