Home
last modified time | relevance | path

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

/unit/test/perl/streaming_body/
H A Dpsgi.pl5 my $writer = (my $responder = shift)->([200, [
10 $writer->write("Hello World!");
11 $writer->close;
/unit/test/java/multipart/
H A Dapp.java45 final PrintWriter writer = response.getWriter(); in doPost() local
58 writer.println(fileName + " created at " + path); in doPost()
61 writer.println("You either did not specify a file to upload or are " in doPost()
64 writer.println("<br/> ERROR: " + fne.getMessage()); in doPost()
73 if (writer != null) { in doPost()
74 writer.close(); in doPost()
/unit/src/java/nginx/unit/
H A DResponse.java410 if (writer != null) { in commit()
411 writer.close(); in commit()
550 if (writer != null) { in flushBuffer()
551 writer.flush(); in flushBuffer()
609 if (writer != null) { in getOutputStream()
629 if (writer == null) { in getWriter()
637 return writer; in getWriter()
661 writer = null; in reset()
674 writer = null; in resetBuffer()
700 if (writer != null in setCharacterEncoding()
[all …]
H A DContext.java311 PrintWriter writer = response.getWriter(); in doGet() local
314 writer.println("<a href=\"" + n + "\">" + n + "</a><br>"); in doGet()
317 writer.close(); in doGet()
/unit/src/java/javax/websocket/
H A DEncoder.java37 void encode(T object, Writer writer) in encode() argument