Class StreamingOutputProvider
- java.lang.Object
-
- org.restlet.ext.jaxrs.internal.provider.StreamingOutputProvider
-
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>
@Deprecated @Provider public class StreamingOutputProvider extends java.lang.Object implements javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>Deprecated.Will be removed in next minor release.This ProviderWrapper is used to read directly from anStreamingOutput.- See Also:
StreamingOutput
-
-
Constructor Summary
Constructors Constructor Description StreamingOutputProvider()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description longgetSize(javax.ws.rs.core.StreamingOutput t, java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)Deprecated.booleanisWriteable(java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)Deprecated.voidwriteTo(javax.ws.rs.core.StreamingOutput so, 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)Deprecated.
-
-
-
Method Detail
-
getSize
public long getSize(javax.ws.rs.core.StreamingOutput t, java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)Deprecated.- Specified by:
getSizein interfacejavax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>- See Also:
javax.ws.rs.ext.MessageBodyWriter#getSize(java.lang.Object)
-
isWriteable
public boolean isWriteable(java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)Deprecated.- Specified by:
isWriteablein interfacejavax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>- See Also:
MessageBodyWriter#isWriteable(Class, Type, Annotation[])
-
writeTo
public void writeTo(javax.ws.rs.core.StreamingOutput so, 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.IOExceptionDeprecated.- Specified by:
writeToin interfacejavax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>- Throws:
java.io.IOException- See Also:
MessageBodyWriter#writeTo(Object, Type, Annotation[], MediaType, MultivaluedMap, OutputStream)
-
-