protected boolean httpGetFile() throws IOException { String strContType = getContentType(); if (strContType.length() == 0) { String strTemp = uri.getPath(); if (strTemp.length() == 0 || strTemp.charAt(strTemp.length() - 1) != '/') strTemp += '/'; if (RhoSupport.findClass(strTemp + "controller") != null) return false; int nPos = findIndex(uri.getPath()); if (nPos >= 0) { String url = uri.getPath(); // + (nPos == 0 ? ".iseq" : ""); RubyValue res = RhoRuby.processIndexRequest(url); // erb-compiled should load from class processResponse(res); return true; } if (httpGetIndexFile()) return true; } return httpServeFile(strContType); }