Class FileServing



  • public class FileServing
    extends Object
    • Constructor Detail

      • FileServing

        public FileServing()
    • Method Detail

      • serveUtf8

        public static void serveUtf8(javax.servlet.http.HttpServletResponse response,
                                     Path file)
                              throws IOException
        Throws:
        IOException
      • serveUtf8IfExists

        public static boolean serveUtf8IfExists(javax.servlet.http.HttpServletResponse response,
                                                Path file)
                                         throws IOException
        Throws:
        IOException
      • serve

        public static void serve(javax.servlet.http.HttpServletResponse response,
                                 Path file)
                          throws IOException
        Throws:
        IOException
      • serveIfExists

        public static boolean serveIfExists(javax.servlet.http.HttpServletResponse response,
                                            Path file)
                                     throws IOException
        Throws:
        IOException