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 Type
    Method
    Description
    ucar.nc2.NetcdfFile
    getNetcdfFile(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)
     
    boolean
    isMine(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 request
      res - the servlet response
      Returns:
      NetcdfFile or null if the source handles the response itself
      Throws:
      FileNotFoundException - is the
      IOException