Package thredds.util
Class TdsPathUtils
java.lang.Object
thredds.util.TdsPathUtils
Utilities for extracting path information from request.
Handles servlet and spring controller cases
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringextractPath(jakarta.servlet.http.HttpServletRequest req, String removePrefix) static StringextractPath(jakarta.servlet.http.HttpServletRequest req, String removePrefix, String[] endings) static StringgetFileNameForResponse(String pathInfo, String extension) static StringgetFileNameForResponse(String pathInfo, ucar.nc2.NetcdfFileWriter.Version version) static StringgetFileNameForResponse(String pathInfo, ucar.nc2.write.NetcdfFileFormat format) static StringgetSuffix(ucar.nc2.write.NetcdfFileFormat format)
-
Constructor Details
-
TdsPathUtils
public TdsPathUtils()
-
-
Method Details
-
extractPath
-
extractPath
-
getFileNameForResponse
-
getSuffix
-
getFileNameForResponse
-
getFileNameForResponse
-