public class BESSiteMapService
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
BESSiteMapService() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
***********************************************************************
Handles incoming requests from clients.
|
protected long |
getLastModified(javax.servlet.http.HttpServletRequest req) |
void |
init()
************************************************************************
Intitializes the servlet.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, service, servicepublic void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
OLFS. It uses
the methods processOpendapURL to extract the OPeNDAP URL
information from the incoming client request. This OPeNDAP URL information
is cached and made accessible through get and set methods.
After processOpendapURL is called loadIniFile()
is called to load configuration information from a .ini file,
If the standard behaviour of the servlet (extracting the OPeNDAP URL
information from the client request, or loading the .ini file) then
you should overload processOpendapURL and loadIniFile()
. We don't recommend overloading doGet() beacuse
the logic contained there may change in our core and cause your server
to behave unpredictably when future releases are installed.doGet in class javax.servlet.http.HttpServletrequest - The client's HttpServletRequest request
object.response - The server's HttpServletResponse response
object.ReqInfoprotected long getLastModified(javax.servlet.http.HttpServletRequest req)
getLastModified in class javax.servlet.http.HttpServlet