Format:
Recent snippets matching tags of inputstream
public String httpResponseAsString(InputStream is, String charset) throws IOException{ if(is==null){ return ""; } StringBuffer out=new StringBuffer(); String line ; try { BufferedReader reader=new BufferedReader(new InputStreamReader(is, charset)); while ((line=reader.readLine())!=null) {
53 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
