public class WcsHandler extends Object implements VersionHandler
| Constructor and Description |
|---|
WcsHandler(String verString)
Declare the default constructor to be package private.
|
| Modifier and Type | Method and Description |
|---|---|
GetCapabilities.ServiceInfo |
getServiceInfo() |
Version |
getVersion() |
void |
handleExceptionReport(javax.servlet.http.HttpServletResponse res,
String code,
String locator,
String message) |
void |
handleExceptionReport(javax.servlet.http.HttpServletResponse res,
String code,
String locator,
Throwable t) |
void |
handleExceptionReport(javax.servlet.http.HttpServletResponse res,
WcsException exception) |
void |
handleKVP(javax.servlet.http.HttpServlet servlet,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
VersionHandler |
setDeleteImmediately(boolean deleteImmediately)
Set whether generated files are deleted immediately after sent (true) or handled by cache (false).
|
VersionHandler |
setDiskCache(DiskCache2 diskCache) |
public WcsHandler(String verString)
verString - the version string.public Version getVersion()
getVersion in interface VersionHandlerpublic VersionHandler setDiskCache(DiskCache2 diskCache)
setDiskCache in interface VersionHandlerpublic VersionHandler setDeleteImmediately(boolean deleteImmediately)
VersionHandlersetDeleteImmediately in interface VersionHandlerdeleteImmediately - if true, delete immediately, otherwise allow cache to handle.public void handleKVP(javax.servlet.http.HttpServlet servlet,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws IOException
handleKVP in interface VersionHandlerIOExceptionpublic GetCapabilities.ServiceInfo getServiceInfo()
public void handleExceptionReport(javax.servlet.http.HttpServletResponse res,
WcsException exception)
throws IOException
IOExceptionpublic void handleExceptionReport(javax.servlet.http.HttpServletResponse res,
String code,
String locator,
String message)
throws IOException
handleExceptionReport in interface VersionHandlerIOExceptionpublic void handleExceptionReport(javax.servlet.http.HttpServletResponse res,
String code,
String locator,
Throwable t)
throws IOException
handleExceptionReport in interface VersionHandlerIOExceptionCopyright © 1999-2012 UCAR/Unidata. All Rights Reserved.