com.almende.util
Class StreamingUtil

java.lang.Object
  extended by com.almende.util.StreamingUtil

public class StreamingUtil
extends Object


Constructor Summary
StreamingUtil()
           
 
Method Summary
static String getMimeType(String format)
           
static void streamBinaryData(InputStream inputStream, String mimeType, javax.servlet.http.HttpServletResponse response)
          Stream an input stream to a servlet response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamingUtil

public StreamingUtil()
Method Detail

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.