Class FastFileServer


  • public class FastFileServer
    extends java.lang.Object
    Fast FileServer.

    This example shows how to use the Jetty APIs for sending static as fast as possible using various strategies for small, medium and large content.

    The Jetty DefaultServlet does all this and more, and to a lesser extent so does the ResourceHandler, so unless you have exceptional circumstances it is best to use those classes for static content

    • Constructor Summary

      Constructors 
      Constructor Description
      FastFileServer()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FastFileServer

        public FastFileServer()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception