@ResponseBody @Override /* Object */ public String toString() { return message; } }
@ResponseBody @Override /* Object */ public String toString() { return message; } }
@ResponseBody @Override /* Object */ public String toString() { return message; } }
@ResponseBody @Override /* Streamable */ public void streamTo(OutputStream os) throws IOException { for (Object c : contents) pipe(c, os); os.flush(); }
@ResponseBody @Override /* Writeable */ public Writer writeTo(Writer w) throws IOException { for (Object o : contents) pipe(o, w); return w; }
@ResponseBody @Override /* Streamable */ public void streamTo(OutputStream os) throws IOException { for (Object c : contents) pipe(c, os); os.flush(); }
@ResponseBody @Override /* Writeable */ public Writer writeTo(Writer w) throws IOException { for (Object o : contents) pipe(o, w); return w; }
@ResponseBody @Override /* Streamable */ public void streamTo(OutputStream os) throws IOException { try (ZipOutputStream zos = new ZipOutputStream(os)) { for (ZipFileEntry e : this) e.write(zos); } os.flush(); }
@ResponseBody @Override /* Writeable */ public Writer writeTo(Writer w) throws IOException { for (Object o : contents) pipe(o, w); return w; }
@ResponseBody @Override /* Streamable */ public void streamTo(OutputStream os) throws IOException { try (ZipOutputStream zos = new ZipOutputStream(os)) { for (ZipFileEntry e : this) e.write(zos); } os.flush(); }
@ResponseBody @Override /* Streamable */ public void streamTo(OutputStream os) throws IOException { try (ZipOutputStream zos = new ZipOutputStream(os)) { for (ZipFileEntry e : this) e.write(zos); } os.flush(); }
@ResponseBody @Override /* Streamable */ public void streamTo(OutputStream os) throws IOException { for (Object c : contents) pipe(c, os); os.flush(); }
@ResponseBody @Override /* Writeable */ public Writer writeTo(Writer w) throws IOException { for (Object o : contents) { if (o != null) { if (varSession == null) pipe(o, w); else varSession.resolveTo(read(o), w); } } return w; } }
@ResponseBody @Override /* Writeable */ public Writer writeTo(Writer w) throws IOException { for (Object o : contents) { if (o != null) { if (varSession == null) pipe(o, w); else varSession.resolveTo(read(o), w); } } return w; } }
@ResponseBody @Override /* Writeable */ public Writer writeTo(Writer w) throws IOException { for (Object o : contents) { if (o != null) { if (varSession == null) pipe(o, w); else varSession.resolveTo(read(o), w); } } return w; } }