Example usage for org.apache.commons.httpclient.server ResponseWriter println

List of usage examples for org.apache.commons.httpclient.server ResponseWriter println

Introduction

In this page you can find the example usage for org.apache.commons.httpclient.server ResponseWriter println.

Prototype

public void println(String s) throws IOException 

Source Link

Usage

From source file:org.eclipse.ecf.tests.filetransfer.URLRetrieveTest.java

License:asdf

private static void writeLines(ResponseWriter w, String[] lines) throws IOException {
    for (int i = 0; i < lines.length; i++) {
        w.println(lines[i]);
    }//  w w w .j av a  2s.c o  m
}