|
|||||||||||
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
dods.servlet.jake.DispatchServlet
DODS Dispatch servlet. This abstract class preprocesses the query string, simplifying development of DODS servlets.
Constructor Summary | |
DispatchServlet()
|
Method Summary | |
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handle a GET request. |
abstract void |
getDAS(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String path,
java.lang.String ce)
Get the DODS DAS. |
abstract void |
getData(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String path,
java.lang.String ce,
boolean compress)
Get the DODS Dataset. |
abstract void |
getDDS(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String path,
java.lang.String ce)
Get the DODS DDS. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
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(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.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
java.io.IOException
- if detected when handling the request
javax.servlet.ServletException
- if the request could not be handledpublic abstract void getDAS(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.lang.String path, java.lang.String ce) throws javax.servlet.ServletException, java.io.IOException
req
- the HttpServletRequest to useres
- the HttpServletResponse to usepath
- the DODS file path in the URLce
- the DODS constraint expression in the URL
java.io.IOException
- if detected when handling the request
javax.servlet.ServletException
- if the request could not be handledpublic abstract void getDDS(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.lang.String path, java.lang.String ce) throws javax.servlet.ServletException, java.io.IOException
req
- the HttpServletRequest to useres
- the HttpServletResponse to usepath
- the DODS file path in the URLce
- the DODS constraint expression in the URL
java.io.IOException
- if detected when handling the request
javax.servlet.ServletException
- if the request could not be handledpublic abstract void getData(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.lang.String path, java.lang.String ce, boolean compress) throws javax.servlet.ServletException, java.io.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
java.io.IOException
- if detected when handling the request
javax.servlet.ServletException
- if the request could not be handled
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |