public class ConfigCatalogHtmlWriter extends Object
| Constructor and Description |
|---|
ConfigCatalogHtmlWriter(HtmlWriter html,
HtmlConfig htmlConfig,
String contextPath) |
| Modifier and Type | Method and Description |
|---|---|
int |
showDataset(String catURL,
Dataset dataset,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean isLocalCatalog) |
int |
writeCatalog(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
Catalog cat,
boolean isLocalCatalog)
Write an Catalog to the HttpServletResponse, return the size in bytes of the catalog written to the response.
|
public ConfigCatalogHtmlWriter(HtmlWriter html, HtmlConfig htmlConfig, String contextPath)
public int writeCatalog(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
Catalog cat,
boolean isLocalCatalog)
throws IOException
req - the HttpServletRequestres - the HttpServletResponse.cat - the InvCatalogImpl to write to the HttpServletResponse.isLocalCatalog - indicates whether this catalog is local to this server.IOException - if problems writing the response.public int showDataset(String catURL, Dataset dataset, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean isLocalCatalog) throws IOException
IOExceptionCopyright © 1999-2015 UCAR/Unidata. All Rights Reserved.