public class ConfigCatalogHtmlWriter
extends java.lang.Object
| Constructor and Description |
|---|
ConfigCatalogHtmlWriter(HtmlWriter html,
HtmlConfig htmlConfig,
java.lang.String contextPath) |
| Modifier and Type | Method and Description |
|---|---|
int |
showDataset(java.lang.String catURL,
thredds.client.catalog.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,
thredds.client.catalog.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, java.lang.String contextPath)
public int writeCatalog(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
thredds.client.catalog.Catalog cat,
boolean isLocalCatalog)
throws java.io.IOException
req - the HttpServletRequestres - the HttpServletResponse.cat - the InvCatalogImpl to write to the HttpServletResponse.isLocalCatalog - indicates whether this catalog is local to this server.java.io.IOException - if problems writing the response.public int showDataset(java.lang.String catURL,
thredds.client.catalog.Dataset dataset,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean isLocalCatalog)
throws java.io.IOException
java.io.IOException