java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.aoapps.web.resources.servlet.PageServlet
com.aoapps.web.framework.WebPage
com.aoapps.web.framework.DumpURLs
- All Implemented Interfaces:
Serializable,Servlet,ServletConfig
Generates a list of all URLs in the site. This is useful for adding this site to
search engines.
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class com.aoapps.web.framework.WebPage
emptyWebPageArray, reHTMLPattern, SEARCH_TWO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<__ extends FlowContent<__>>
voiddoGet(WebSiteRequest req, HttpServletResponse resp, WebPageLayout layout, __ flow) By default, GET provides no content.Gets the description of this page.Gets the keywords for this page.longgetLastModified(WebSiteRequest req, HttpServletResponse resp) The last modified time is -1 to always reload the list.longGets the last modified time for search indexing.getTitle(WebSiteRequest req) Gets the title of the web page in order to generate the HTML.voidsearch(String[] words, WebSiteRequest req, HttpServletResponse response, List<SearchResult> results, CharArrayWriter buffer, Set<WebPage> finishedPages) Do not include this in the search results.Methods inherited from class com.aoapps.web.framework.WebPage
canAccess, configureResources, doGet, doGet, doGet, doPost, doPost, doPost, doPost, doPostWithSearch, equals, equals, generateUrlPath, getAuthor, getAuthorHref, getAutonli, getCachedChildren, getChildren, getClassLastModified, getContentValign, getCopyright, getDoctype, getDocument, getHtmlOutputStream, getIndent, getJavascriptSrc, getLastModified, getLastModifiedRecursive, getLastModifiedRecursive, getNavImageAlt, getNavImageSuffix, getNavImageUrl, getNextPage, getOnloadScript, getPageIndexInParent, getParent, getPreferredContentWidth, getPreviousPage, getRedirectType, getRedirectUrl, getRootPage, getSerialization, getServletContext, getShortTitle, getUptime, getUrlParams, getUrlPath, getUrlPattern, getWebPage, getWebPage, getWebPage, getWebPage, getWebPage, getWebPage, getWebPageAndChildrenLastModified, getWebPageLayout, getWebSiteRequest, hashCode, includeNavImageAsParent, isHandler, isHandler, loadClass, printLoginForm, printUnauthorizedPage, service, setHeaders, showInLocationPath, standardSearch, useNavImage, useSiteMapMethods inherited from class com.aoapps.web.resources.servlet.PageServlet
serviceMethods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTraceMethods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
DumpURLs
public DumpURLs()
-
-
Method Details
-
doGet
public <__ extends FlowContent<__>> void doGet(WebSiteRequest req, HttpServletResponse resp, WebPageLayout layout, __ flow) throws ServletException, IOException Description copied from class:WebPageBy default, GET provides no content.- Overrides:
doGetin classWebPage- Parameters:
req- theWebSiteRequestfor this request, ornullwhen searchingresp- theHttpServletResponsefor this request, ornullwhen searchinglayout- theWebPageLayoutthat has been appliedflow- theFlowContentto send output to- Throws:
ServletExceptionIOException- See Also:
-
getDescription
Description copied from class:WebPageGets the description of this page. By default, the description of the parent page is used. May not contain HTML.- Overrides:
getDescriptionin classWebPage
-
getKeywords
Description copied from class:WebPageGets the keywords for this page. By default, no keywords.- Overrides:
getKeywordsin classWebPage
-
getLastModified
The last modified time is -1 to always reload the list.- Overrides:
getLastModifiedin classWebPage- Throws:
ServletException
-
search
public void search(String[] words, WebSiteRequest req, HttpServletResponse response, List<SearchResult> results, CharArrayWriter buffer, Set<WebPage> finishedPages) Do not include this in the search results. -
getSearchLastModified
Description copied from class:WebPageGets the last modified time for search indexing. The index will be recreated if the search last modified time is changed. If this method returns-1, no search index is built. This defaults to be a call togetLastModifiedwith nullWebSiteRequestandHttpServletResponse.- Overrides:
getSearchLastModifiedin classWebPage- Throws:
ServletException
-
getTitle
Description copied from class:WebPageGets the title of the web page in order to generate the HTML. The title defaults to that of the parent page.
-
