Package thredds.servlet
Interface DatasetSource
public interface DatasetSource
Alternative to IOSP when you need the HttpServletRequest to create the file.
- See Also:
-
- "https://www.unidata.ucar.edu/projects/THREDDS/tech/tds4.2/reference/DatasetSource.html"
-
Method Summary
Modifier and TypeMethodDescriptionucar.nc2.NetcdfFilegetNetcdfFile(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) booleanisMine(jakarta.servlet.http.HttpServletRequest req)
-
Method Details
-
isMine
boolean isMine(jakarta.servlet.http.HttpServletRequest req) -
getNetcdfFile
ucar.nc2.NetcdfFile getNetcdfFile(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws IOException - Parameters:
req- the servlet requestres- the servlet response- Returns:
- NetcdfFile or null if the source handles the response itself
- Throws:
FileNotFoundException- is theIOException
-