org.resteasy.plugins.providers
Class StreamingOutputProvider

java.lang.Object
  extended by org.resteasy.plugins.providers.StreamingOutputProvider
All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>

public class StreamingOutputProvider
extends java.lang.Object
implements javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
StreamingOutputProvider()
           
 
Method Summary
 long getSize(javax.ws.rs.core.StreamingOutput streamingOutput)
           
 boolean isWriteable(java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations)
           
 void writeTo(javax.ws.rs.core.StreamingOutput streamingOutput, java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders, java.io.OutputStream entityStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamingOutputProvider

public StreamingOutputProvider()
Method Detail

isWriteable

public boolean isWriteable(java.lang.Class<?> type,
                           java.lang.reflect.Type genericType,
                           java.lang.annotation.Annotation[] annotations)
Specified by:
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>

getSize

public long getSize(javax.ws.rs.core.StreamingOutput streamingOutput)
Specified by:
getSize in interface javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>

writeTo

public void writeTo(javax.ws.rs.core.StreamingOutput streamingOutput,
                    java.lang.Class<?> type,
                    java.lang.reflect.Type genericType,
                    java.lang.annotation.Annotation[] annotations,
                    javax.ws.rs.core.MediaType mediaType,
                    javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders,
                    java.io.OutputStream entityStream)
             throws java.io.IOException
Specified by:
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>
Throws:
java.io.IOException


Copyright © 2008. All Rights Reserved.