Class 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 an StreamingOutput .
    See Also:
    StreamingOutput
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      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.
       
      boolean isWriteable​(java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
      Deprecated.
       
      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)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StreamingOutputProvider

        public StreamingOutputProvider()
        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:
        getSize in interface javax.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:
        isWriteable in interface javax.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.IOException
        Deprecated.
        Specified by:
        writeTo in interface javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>
        Throws:
        java.io.IOException
        See Also:
        MessageBodyWriter#writeTo(Object, Type, Annotation[], MediaType, MultivaluedMap, OutputStream)