com.almende.util
Class StreamingUtil
java.lang.Object
com.almende.util.StreamingUtil
public class StreamingUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamingUtil
public StreamingUtil()
streamBinaryData
public static void streamBinaryData(InputStream inputStream,
String mimeType,
javax.servlet.http.HttpServletResponse response)
throws IOException
- Stream an input stream to a servlet response
- Parameters:
inputStream
- mimeType
- response
-
- Throws:
IOException
getMimeType
public static String getMimeType(String format)
Copyright © 2013 Almende BV. All Rights Reserved.