6869707172737475767778
sendResponse(resp); } else { super.problem(resp, HttpResponse.ST_FORBIDDEN, "Only GET and HEAD accepted"); } if (!req.keepAlive()) break; break; } } catch (EOFException e) { System.out.println("[" + this.id + "] Connection Terminated");
130131132133134135136137138139140
pw.flush(); sendResponse(resp); } else { problem(resp, HttpResponse.ST_BAD_REQUEST, "Only get accepted"); } if (!req.keepAlive()) { break; } } } catch (EOFException ignore) { }
8081828384858687888990
sendFile(resp, f, headOnly); } } else { super.problem(resp, HttpResponse.ST_FORBIDDEN, "Only GET and HEAD accepted"); } if (!req.keepAlive()) { break; } } } catch (EOFException e) { System.out.println("[" + this.id + "] Connection Terminated");