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

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