@Provider public class StreamOutputEntityProvider extends Object implements EntityProvider<javax.ws.rs.core.StreamingOutput>
| Constructor and Description |
|---|
StreamOutputEntityProvider() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(javax.ws.rs.core.StreamingOutput t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
javax.ws.rs.core.StreamingOutput |
readFrom(Class<javax.ws.rs.core.StreamingOutput> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
writeTo(javax.ws.rs.core.StreamingOutput t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable in interface javax.ws.rs.ext.MessageBodyReader<javax.ws.rs.core.StreamingOutput>public javax.ws.rs.core.StreamingOutput readFrom(Class<javax.ws.rs.core.StreamingOutput> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException
readFrom in interface javax.ws.rs.ext.MessageBodyReader<javax.ws.rs.core.StreamingOutput>IOExceptionpublic long getSize(javax.ws.rs.core.StreamingOutput t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>public void writeTo(javax.ws.rs.core.StreamingOutput t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
throws IOException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>IOExceptionCopyright © 2015. All rights reserved.