opendap.servlet
Class GetAsciiHandler
java.lang.Object
opendap.servlet.GetAsciiHandler
public class GetAsciiHandler
- extends java.lang.Object
Default handler for OPeNDAP ascii requests. This class is used
by AbstractServlet. This code exists as a seperate class in order to alleviate
code bloat in the AbstractServlet class. As such, it contains virtually no
state, just behaviors.
- Author:
- Nathan David Potter
Method Summary |
void |
sendASCII(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String dataSet)
************************************************************************
Default handler for OPeNDAP ascii requests. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetAsciiHandler
public GetAsciiHandler()
sendASCII
public void sendASCII(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String dataSet)
throws DAP2Exception,
ParseException
- ************************************************************************
Default handler for OPeNDAP ascii requests. Returns OPeNDAP DAP2 data in
comma delimited ascii columns for ingestion into some not so
OPeNDAP enabled application such as MS-Excel. Accepts constraint
expressions in exactly the same way as the regular OPeNDAP dataserver.
- Parameters:
request
- response
- dataSet
-
- Throws:
DAP2Exception
ParseException