|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.aoindustries.website.framework.ErrorReportingServlet
com.aoindustries.website.framework.WebPage
com.aoindustries.website.framework.DumpURLs
public abstract class DumpURLs
Generates a list of all URLs in the site. This is useful for adding this site to search engines.
| Field Summary |
|---|
| Fields inherited from class com.aoindustries.website.framework.WebPage |
|---|
emptyWebPageArray, reHTMLPattern |
| Fields inherited from class com.aoindustries.website.framework.ErrorReportingServlet |
|---|
BUFFER_SIZE |
| Constructor Summary | |
|---|---|
DumpURLs(LoggerAccessor loggerAccessor)
|
|
DumpURLs(LoggerAccessor loggerAccessor,
java.lang.Object param)
|
|
DumpURLs(WebSiteRequest req)
|
|
| Method Summary | |
|---|---|
void |
doGet(com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp)
By default, GET provides no content. |
java.lang.String |
getDescription()
Gets the description of this page. |
java.lang.String |
getKeywords()
Gets the keywords for this page. |
long |
getLastModified(WebSiteRequest req)
The last modified time is -1 to always reload the list. |
long |
getSearchLastModified()
Gets the last modified time for search indexing. |
java.lang.String |
getTitle()
Gets the title of the web page in order to generate the HTML. |
void |
search(java.lang.String[] words,
WebSiteRequest req,
java.util.ArrayList results,
com.aoindustries.io.BetterByteArrayOutputStream bytes,
com.aoindustries.util.SortedArrayList finishedPages)
Do not include this in the search results. |
| Methods inherited from class com.aoindustries.website.framework.ErrorReportingServlet |
|---|
doGet, doPost, getGetCount, getLastModified, getLastModifiedCount, getLogger, getLogger, getLogger, getLoggerAccessor, getPostCount, getUptime, log, log |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPut, doTrace, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, init |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DumpURLs(LoggerAccessor loggerAccessor)
public DumpURLs(WebSiteRequest req)
public DumpURLs(LoggerAccessor loggerAccessor,
java.lang.Object param)
| Method Detail |
|---|
public void doGet(com.aoindustries.io.ChainWriter out,
WebSiteRequest req,
javax.servlet.http.HttpServletResponse resp)
throws java.io.IOException,
java.sql.SQLException
WebPage
doGet in class WebPageout - the ChainWriter to send output toreq - the current WebSiteRequestresp - the HttpServletResponse for this request, is null when searching
java.io.IOException
java.sql.SQLExceptionpublic java.lang.String getDescription()
WebPage
getDescription in class WebPagepublic java.lang.String getKeywords()
WebPage
getKeywords in class WebPage
public long getLastModified(WebSiteRequest req)
throws java.io.IOException,
java.sql.SQLException
getLastModified in class WebPagejava.io.IOException
java.sql.SQLException
public void search(java.lang.String[] words,
WebSiteRequest req,
java.util.ArrayList results,
com.aoindustries.io.BetterByteArrayOutputStream bytes,
com.aoindustries.util.SortedArrayList finishedPages)
public long getSearchLastModified()
throws java.io.IOException,
java.sql.SQLException
WebPage-1,
no search index is built. This defaults to be a call to getLastModified
with a null WebSiteRequest.
getSearchLastModified in class WebPagejava.io.IOException
java.sql.SQLExceptionpublic java.lang.String getTitle()
WebPage
getTitle in class WebPage
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||