odh.sendVersion(request, response, rs);
odh.sendVersion(request, response);
    public void doGet(HttpServletRequest request,                      HttpServletResponse response)            throws IOException, ServletException {        // response.setHeader("Last-Modified", (new Date()).toString() );        boolean isDebug = false;        ReqState rs = null;        try {            if (Debug.isSet("probeRequest"))                ServletUtil.probeRequest(System.out, request, getServletContext(), getServletConfig());            rs = getRequestState(request);            if (rs != null) {                String ds = rs.getDataset();                String suff = rs.getRequestSuffix();                isDebug = ((ds != null) && ds.equals("debug") && (suff != null) && suff.equals(""));            }            synchronized (syncLock) {                long reqno = HitCounter++;                if (!isDebug) {                    if (Debug.isSet("showRequest")) {                        System.out.println("-------------------------------------------");                        System.out.println("Server: " + getServerName() + "   Request #" + reqno);                        System.out.println("Client: " + request.getRemoteHost());                        System.out.println(rs.toString());                        Log.println("Request dataset: '" + rs.getDataset() + "' suffix: '" + rs.getRequestSuffix() +                                "' CE: '" + rs.getConstraintExpression() + "'");                    }                }            } // synch            if (rs != null) {                String dataSet = rs.getDataset();                String requestSuffix = rs.getRequestSuffix();                if ( // Version Response?                        dataSet.equalsIgnoreCase("/version") ||                                dataSet.equalsIgnoreCase("/version/") ||                                requestSuffix.equalsIgnoreCase("ver") ||                                requestSuffix.equalsIgnoreCase("version")                        ) {                    odh.sendVersion(request, response, rs);                } else if ( // Directory response?                        dataSet == null ||                                dataSet.equals("/") ||                                dataSet.equals("") ||                                dataSet.endsWith("/") ||                                requestSuffix.equals("")                        ) {                    odh.sendDir(request, response, rs);                }else if ( // Help Response?                        dataSet.equalsIgnoreCase("/help") ||                                dataSet.equalsIgnoreCase("/help/") ||                                dataSet.equalsIgnoreCase("/" + requestSuffix) ||                                requestSuffix.equalsIgnoreCase("help")                        ) {                    odh.sendHelpPage(request, response, rs);                } else if ( // DDS Response?                        requestSuffix.equalsIgnoreCase("dds")                        ) {                    odh.sendDDS(request, response, rs);                } else if ( // DAS Response?                        requestSuffix.equalsIgnoreCase("das")                        ) {                    odh.sendDAS(request, response, rs);                } else if (  // DDX Response?                        requestSuffix.equalsIgnoreCase("ddx")                        ) {                    odh.sendDDX(request, response, rs);                } else if ( // Blob Response?                        requestSuffix.equalsIgnoreCase("blob")                        ) {                    //doGetBLOB(request, response, rs);                    badURL(request, response, rs);                } else if ( // DataDDS (aka .dods) Response?                        requestSuffix.equalsIgnoreCase("dods")                        ) {                    odh.sendDODS(request, response, rs);                } else if (  // ASCII Data Response.                        requestSuffix.equalsIgnoreCase("asc") ||                                requestSuffix.equalsIgnoreCase("ascii")                        ) {                    odh.sendASCII(request, response, rs);                } else if (  // Info Response?                        requestSuffix.equalsIgnoreCase("info")                        ) {                    odh.sendInfo(request, response, rs);                } else if (  //HTML Request Form (aka The Interface From Hell) Response?                        requestSuffix.equalsIgnoreCase("html") ||                                requestSuffix.equalsIgnoreCase("htm")                        ) {                    odh.sendHTMLRequestForm(request, response, rs);                } else if (  // THREDDS Catalog Response?                        dataSet.endsWith("catalog") &&                                requestSuffix.equalsIgnoreCase("xml")                        ) {                    odh.sendCatalog(request, response, rs);                } else if (  // Status Response?                        dataSet.equalsIgnoreCase("status")                        ) {                    doGetStatus(request, response, rs);                } else if ( // System Properties Response?                        dataSet.equalsIgnoreCase("systemproperties")                        ) {                    ServletUtil.sendSystemProperties(request, response, rs);                } else if (isDebug) {                    DebugHandler.doDebug(this, request, response, rs);                } else if (requestSuffix.equals("")) {                    badURL(request, response, rs);                } else {                    badURL(request, response, rs);                }            } else {                badURL(request, response, rs);            }        } catch (Throwable e) {            anyExceptionHandler(e, response, rs);        }    }