public class StreamingResponseProvider<T> extends Object implements javax.ws.rs.ext.MessageBodyWriter<StreamingResponse<T>>
| Constructor and Description |
|---|
StreamingResponseProvider() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(StreamingResponse<T> arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4) |
boolean |
isWriteable(Class<?> cls,
Type type,
Annotation[] anns,
javax.ws.rs.core.MediaType mt) |
void |
writeTo(StreamingResponse<T> p,
Class<?> cls,
Type t,
Annotation[] anns,
javax.ws.rs.core.MediaType mt,
javax.ws.rs.core.MultivaluedMap<String,Object> headers,
OutputStream os) |
public boolean isWriteable(Class<?> cls, Type type, Annotation[] anns, javax.ws.rs.core.MediaType mt)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<StreamingResponse<T>>public void writeTo(StreamingResponse<T> p, Class<?> cls, Type t, Annotation[] anns, javax.ws.rs.core.MediaType mt, javax.ws.rs.core.MultivaluedMap<String,Object> headers, OutputStream os) throws IOException, javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<StreamingResponse<T>>IOExceptionjavax.ws.rs.WebApplicationExceptionpublic long getSize(StreamingResponse<T> arg0, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<StreamingResponse<T>>Apache CXF