Package thredds.servlet
Interface DatasetSource
-
public interface DatasetSourceAlternative 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ucar.nc2.NetcdfFilegetNetcdfFile(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)booleanisMine(javax.servlet.http.HttpServletRequest req)
-
-
-
Method Detail
-
isMine
boolean isMine(javax.servlet.http.HttpServletRequest req)
-
getNetcdfFile
ucar.nc2.NetcdfFile getNetcdfFile(javax.servlet.http.HttpServletRequest req, javax.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
-
-