public class SitemapServlet extends DSpaceServlet
The servlet is configured via the "type" config parameter to serve either sitemaps.org or basic HTML sitemaps.
The "map" parameter specifies the index of a sitemap to serve. If no "map" parameter is specified, the sitemap index is served.
| Constructor and Description |
|---|
SitemapServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDSGet(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process an incoming HTTP GET.
|
void |
init() |
doDSPost, doGet, doPostdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic void init()
init in class javax.servlet.GenericServletprotected void doDSGet(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException, SQLException, AuthorizeException
DSpaceServletdoDSGet in class DSpaceServletcontext - a DSpace Context objectrequest - the HTTP requestresponse - the HTTP responseSQLException - if a database error occursAuthorizeException - if some authorization error occursjavax.servlet.ServletExceptionIOExceptionCopyright © 2016 DuraSpace. All Rights Reserved.