Package thredds.util

Class TdsPathUtils


  • public class TdsPathUtils
    extends Object
    Utilities for extracting path information from request. Handles servlet and spring controller cases
    • Constructor Detail

      • TdsPathUtils

        public TdsPathUtils()
    • Method Detail

      • extractPath

        public static String extractPath​(javax.servlet.http.HttpServletRequest req,
                                         String removePrefix)
      • getLastModified

        public static long getLastModified​(String reqPath)
      • getFile

        public static File getFile​(String reqPath)
      • getNetcdfFile

        public static ucar.nc2.NetcdfFile getNetcdfFile​(javax.servlet.http.HttpServletRequest request,
                                                        String reqPath)
                                                 throws IOException
        Throws:
        IOException