Package thredds.server.wcs
Interface VersionHandler
public interface VersionHandler
Each implementation handles a different version of WCS requests.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleExceptionReport(jakarta.servlet.http.HttpServletResponse res, String code, String locator, String message) voidhandleKVP(jakarta.servlet.http.HttpServlet servlet, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) setDeleteImmediately(boolean deleteImmediately) Set whether generated files are deleted immediately after sent (true) or handled by cache (false).setDiskCache(ucar.nc2.util.DiskCache2 diskCache)
-
Method Details
-
getVersion
Version getVersion() -
setDiskCache
-
setDeleteImmediately
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(jakarta.servlet.http.HttpServlet servlet, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws jakarta.servlet.ServletException, IOException - Throws:
jakarta.servlet.ServletExceptionIOException
-
handleExceptionReport
void handleExceptionReport(jakarta.servlet.http.HttpServletResponse res, String code, String locator, String message) throws IOException - Throws:
IOException
-