opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java
public void doGetStatus(ReqState rs)
            throws Exception
    {
        rs.getResponse().setHeader("XDODS-Server", getServerVersion());
        rs.getResponse().setContentType("text/html");
        rs.getResponse().setHeader("Content-Description", "dods-status");

        PrintWriter pw = new PrintWriter(new OutputStreamWriter(rs.getResponse().getOutputStream(), Util.UTF8));
        pw.println("<title>Server Status</title>");
        pw.println("<body><ul>");
        printStatus(pw);
        pw.println("</ul></body>");
        pw.flush();
        rs.getResponse().setStatus(HttpServletResponse.SC_OK);
    }
public void doGetStatus(ReqState rs)
            throws Exception
    {
        rs.getResponse().setHeader("XDODS-Server", getServerVersion());
        rs.getResponse().setContentType("text/html");
        rs.getResponse().setHeader("Content-Description", "dods-status");

        PrintWriter pw = new PrintWriter(new OutputStreamWriter(rs.getResponse().getOutputStream(), Util.UTF8));
        pw.println("<title>Server Status</title>");
        pw.println("<body><ul>");
        printStatus(pw);
        pw.println("</ul></body>");
        pw.flush();
        rs.getResponse().setStatus(HttpServletResponse.SC_OK);
    }
public void doGetStatus ( ReqState rs ) throws Exception { rs . getResponse ( ) . setHeader ( "XDODS-Server" , getServerVersion ( ) ) ; rs . getResponse ( ) . setContentType ( "text/html" ) ; rs . getResponse ( ) . setHeader ( "Content-Description" , "dods-status" ) ; PrintWriter pw = new PrintWriter ( new OutputStreamWriter ( rs . getResponse ( ) . getOutputStream ( ) , Util . UTF8 ) ) ; pw . println ( "<title>Server Status</title>" ) ; pw . println ( "<body><ul>" ) ; printStatus ( pw ) ; pw . println ( "</ul></body>" ) ; pw . flush ( ) ; rs . getResponse ( ) . setStatus ( HttpServletResponse . SC_OK ) ; }
Handler for OPeNDAP status requests; not publically available,
used only for debugging

@param rs The client's <code> ReqState</code>
@see GetHTMLInterfaceHandler
Handler for OPeNDAP status requests ; not publically available used only for debugging