public class PublisherServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.log4j.Logger |
logger
The logger.
|
private static long |
serialVersionUID
The Constant serialVersionUID.
|
| Constructor and Description |
|---|
PublisherServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp)
Do get.
|
static void |
main(java.lang.String[] args)
The main method.
|
void |
publishHTML(java.io.PrintWriter out,
java.lang.String pathInfo,
boolean listPublishedTables)
Publish html.
|
void |
publishXml(java.io.PrintWriter out,
java.lang.String pathInfo,
boolean listPublishedTables)
Publish xml.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprivate static final long serialVersionUID
protected org.apache.log4j.Logger logger
public void publishHTML(java.io.PrintWriter out,
java.lang.String pathInfo,
boolean listPublishedTables)
out - the Writer that displays the xml/htmlpathInfo - the 'root' path info to prependlistPublishedTables - a flag to indicate if the list should be xml or htmlpublic void publishXml(java.io.PrintWriter out,
java.lang.String pathInfo,
boolean listPublishedTables)
out - the Writer that displays the xml/htmlpathInfo - the 'root' path info to prependlistPublishedTables - a flag to indicate if the list should be xml or htmlpublic void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp)
doGet in class javax.servlet.http.HttpServletreq - the HttpServletRequestrsp - the HttpServletResponsepublic static void main(java.lang.String[] args)
args - the arguments