question: public static void writeHttpResponseHeader ( Writer out , String contentType , int contentLength ) throws IOException { out . write ( "HTTP/1.0 200 \n" ) ; out . write ( "Content-type: " + contentType + "\n" ) ; out . write ( "Content-Length: " + contentLength + "\n" ) ; out . write ( "\n" ) ; }
target:  Can be used to write the header to an HttpResponse. You need to create a Writer tied to the OutputStream in order to write this text.