Package thredds.util
Class TdsPathUtils
- java.lang.Object
-
- thredds.util.TdsPathUtils
-
public class TdsPathUtils extends Object
Utilities for extracting path information from request. Handles servlet and spring controller cases
-
-
Constructor Summary
Constructors Constructor Description TdsPathUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringextractPath(javax.servlet.http.HttpServletRequest req, String removePrefix)static FilegetFile(String reqPath)static longgetLastModified(String reqPath)static ucar.nc2.NetcdfFilegetNetcdfFile(javax.servlet.http.HttpServletRequest request, String reqPath)
-
-
-
Method Detail
-
extractPath
public static String extractPath(javax.servlet.http.HttpServletRequest req, String removePrefix)
-
getLastModified
public static long getLastModified(String reqPath)
-
getNetcdfFile
public static ucar.nc2.NetcdfFile getNetcdfFile(javax.servlet.http.HttpServletRequest request, String reqPath) throws IOException- Throws:
IOException
-
-