DefaultResponse.sendAsciiResponse(pw, rs, is);
DefaultResponse.sendAsciiResponse(pw, this, is);
    public void sendASCII(HttpServletRequest request,                          HttpServletResponse response,                          ReqState rs)            throws Exception {        response.setContentType("text/plain");        response.setHeader("XDODS-Server", getXDODSServerVersion());        response.setHeader("XOPeNDAP-Server", getXOPeNDAPServerVersion());        response.setHeader("XDAP", getXDAPVersion(request));        response.setHeader("Content-Description", "dods_ascii");        if (Debug.isSet("showResponse"))            System.out.println("Sending OPeNDAP ASCII Data For: " + rs.getDataset() +                    "    CE: '" + request.getQueryString() + "'");        String requestURL, ce;        if (request.getQueryString() == null) {            ce = "";        } else {            ce = "?" + request.getQueryString();        }        requestURL = rs.getRequestURL();        if (Debug.isSet("showResponse")) {            System.out.println("New Request URL Resource: '" + requestURL + "'");            System.out.println("New Request Constraint Expression: '" + ce + "'");        }        ByteArrayOutputStream os = new ByteArrayOutputStream();        BesAPI.writeDapData(rs.getDataset(), rs.getConstraintExpression(), os);        ByteArrayInputStream is = new ByteArrayInputStream(os.toByteArray());        PrintWriter pw = new PrintWriter(response.getOutputStream());        DefaultResponse.sendAsciiResponse(pw, rs, is);        response.setStatus(HttpServletResponse.SC_OK);    }