org.jboss.resteasy.plugins.providers
public class StreamingOutputProvider extends Object implements MessageBodyWriter<StreamingOutput>
Constructor and Description |
---|
StreamingOutputProvider() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(StreamingOutput streamingOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
void |
writeTo(StreamingOutput streamingOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
isWriteable
in interface MessageBodyWriter<StreamingOutput>
public long getSize(StreamingOutput streamingOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
getSize
in interface MessageBodyWriter<StreamingOutput>
public void writeTo(StreamingOutput streamingOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException
writeTo
in interface MessageBodyWriter<StreamingOutput>
IOException
Copyright © 2014. All Rights Reserved.