Lines Matching refs:output
121 PrintStream output = null; in handle() local
138 output = new PrintStream(socket.getOutputStream()); in handle()
142 writeServerError(output); in handle()
147 writeServerError(output); in handle()
152 output.println("HTTP/1.0 200 OK"); in handle()
153 output.println("Content-Type: " + detectMimeType(route)); in handle()
154 output.println("Content-Length: " + bytes.length); in handle()
155 output.println(); in handle()
156 output.write(bytes); in handle()
157 output.flush(); in handle()
159 if (null != output) { in handle()
160 output.close(); in handle()
173 private void writeServerError(PrintStream output) { in writeServerError() argument
174 output.println("HTTP/1.0 500 Internal Server Error"); in writeServerError()
175 output.flush(); in writeServerError()
188 ByteArrayOutputStream output = new ByteArrayOutputStream(); in loadContent() local
193 output.write(buffer, 0, size); in loadContent()
195 output.flush(); in loadContent()
196 return output.toByteArray(); in loadContent()