Home
last modified time | relevance | path

Searched refs:fileRequest (Results 1 – 1 of 1) sorted by relevance

/aoo42x/main/xmlsecurity/test_docs/tools/httpserv/src/httpserv/
H A DMain.java139 File fileRequest = new File(new File(".").getCanonicalPath(), sRequestPath); in handle() local
140 if (!fileRequest.exists()) { in handle()
141 throw new Exception("The file " + fileRequest.toString() + " does not exist!\n"); in handle()
143 else if (fileRequest.isDirectory()) { in handle()
144 throw new Exception(fileRequest.toString() + " is a directory!\n"); in handle()
149 byte[] data = new byte[(int) fileRequest.length()]; in handle()
150 FileInputStream fr = new FileInputStream(fileRequest); in handle()
155 String canonicalPath = fileRequest.getCanonicalPath(); in handle()
176 System.out.println("delivered: " + fileRequest.toString()); in handle()

Completed in 31 milliseconds