Class FileService


  • @ParametersAreNonnullByDefault
    public class FileService
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FileService()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void serve​(java.io.File localFile, com.sun.net.httpserver.HttpExchange exchange, play.mvc.Http.Request request, play.mvc.Http.Response response, boolean keepAlive)  
      • Methods inherited from class java.lang.Object

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

      • FileService

        public FileService()
    • Method Detail

      • serve

        public void serve​(java.io.File localFile,
                          com.sun.net.httpserver.HttpExchange exchange,
                          play.mvc.Http.Request request,
                          play.mvc.Http.Response response,
                          boolean keepAlive)
                   throws java.io.IOException
        Throws:
        java.io.IOException