Interface VersionHandler


  • public interface VersionHandler
    Each implementation handles a different version of WCS requests.
    Since:
    4.0
    • Method Detail

      • setDiskCache

        VersionHandler setDiskCache​(ucar.nc2.util.DiskCache2 diskCache)
      • setDeleteImmediately

        VersionHandler setDeleteImmediately​(boolean deleteImmediately)
        Set whether generated files are deleted immediately after sent (true) or handled by cache (false).

        Note: currently (2008-03-05), each request generates a unique file. So caching doesn't make much sense.

        Parameters:
        deleteImmediately - if true, delete immediately, otherwise allow cache to handle.
        Returns:
        this VersionHandler
      • handleKVP

        void handleKVP​(javax.servlet.http.HttpServlet servlet,
                       javax.servlet.http.HttpServletRequest req,
                       javax.servlet.http.HttpServletResponse res)
                throws javax.servlet.ServletException,
                       IOException
        Throws:
        javax.servlet.ServletException
        IOException