|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectHttpServlet
dods.servlet.jake.DispatchServlet
public abstract class DispatchServlet
DODS Dispatch servlet. This abstract class preprocesses the query string, simplifying development of DODS servlets.
Constructor Summary | |
---|---|
DispatchServlet()
|
Method Summary | |
---|---|
void |
doGet(HttpServletRequest req,
HttpServletResponse res)
Handle a GET request. |
abstract void |
getDAS(HttpServletRequest req,
HttpServletResponse res,
String path,
String ce)
Get the DODS DAS. |
abstract void |
getData(HttpServletRequest req,
HttpServletResponse res,
String path,
String ce,
boolean compress)
Get the DODS Dataset. |
abstract void |
getDDS(HttpServletRequest req,
HttpServletResponse res,
String path,
String ce)
Get the DODS DDS. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DispatchServlet()
Method Detail |
---|
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
getDAS
,
getDDS
, or getData
method, which is
implemented by each derived DODS servlet class.
req
- HttpServletRequest that encapsulates the request to the servletres
- HttpServletResponse that encapsulates the response from the servlet
IOException
- if detected when handling the request
ServletException
- if the request could not be handledpublic abstract void getDAS(HttpServletRequest req, HttpServletResponse res, String path, String ce) throws ServletException, IOException
req
- the HttpServletRequest to useres
- the HttpServletResponse to usepath
- the DODS file path in the URLce
- the DODS constraint expression in the URL
IOException
- if detected when handling the request
ServletException
- if the request could not be handledpublic abstract void getDDS(HttpServletRequest req, HttpServletResponse res, String path, String ce) throws ServletException, IOException
req
- the HttpServletRequest to useres
- the HttpServletResponse to usepath
- the DODS file path in the URLce
- the DODS constraint expression in the URL
IOException
- if detected when handling the request
ServletException
- if the request could not be handledpublic abstract void getData(HttpServletRequest req, HttpServletResponse res, String path, String ce, boolean compress) throws ServletException, IOException
req
- the HttpServletRequest to useres
- the HttpServletResponse to usepath
- the DODS file path in the URLce
- the DODS constraint expression in the URLcompress
- whether to compress the DODS output
IOException
- if detected when handling the request
ServletException
- if the request could not be handled
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |