dods.servlet
Class dodsASCII

java.lang.Object
  extended bydods.servlet.dodsASCII

public class dodsASCII
extends java.lang.Object

Default handler for DODS ascii requests. This class is used by DODSServlet. This code exists as a seperate class in order to alleviate code bloat in the DODSServlet class. As such, it contains virtually no state, just behaviors.

Author:
Nathan David Potter

Constructor Summary
dodsASCII()
           
 
Method Summary
 void sendASCII(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ReqState rs)
          Default handler for DODS ascii requests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

dodsASCII

public dodsASCII()
Method Detail

sendASCII

public void sendASCII(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response,
                      ReqState rs)
               throws DODSException,
                      ParseException
Default handler for DODS ascii requests. Returns DODS data in comma delimited ascii columns for ingestion into some not so DODS enabled application such as MS-Excel. Accepts constraint expressions in exactly the same way as the regular DODS dataserver.

Parameters:
rs - The ReqState object associated with the user request.
Throws:
DODSException
ParseException