Package play.server

Class FileService


  • 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, org.jboss.netty.handler.codec.http.HttpRequest nettyRequest, org.jboss.netty.handler.codec.http.HttpResponse nettyResponse, org.jboss.netty.channel.ChannelHandlerContext ctx, Http.Request request, Http.Response response, org.jboss.netty.channel.Channel channel)  
      • 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,
                          org.jboss.netty.handler.codec.http.HttpRequest nettyRequest,
                          org.jboss.netty.handler.codec.http.HttpResponse nettyResponse,
                          org.jboss.netty.channel.ChannelHandlerContext ctx,
                          Http.Request request,
                          Http.Response response,
                          org.jboss.netty.channel.Channel channel)
                   throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException