@Provider public class StreamingBaseHtmlProvider extends Object implements javax.ws.rs.ext.MessageBodyWriter<org.fcrepo.kernel.utils.iterators.RdfStream>, org.springframework.context.ApplicationContextAware
BaseHtmlProvider| Constructor and Description |
|---|
StreamingBaseHtmlProvider() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(org.fcrepo.kernel.utils.iterators.RdfStream rdfStream,
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) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
writeTo(org.fcrepo.kernel.utils.iterators.RdfStream rdfStream,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<org.fcrepo.kernel.utils.iterators.RdfStream>public long getSize(org.fcrepo.kernel.utils.iterators.RdfStream rdfStream,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<org.fcrepo.kernel.utils.iterators.RdfStream>public void writeTo(org.fcrepo.kernel.utils.iterators.RdfStream rdfStream,
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<org.fcrepo.kernel.utils.iterators.RdfStream>IOExceptionpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwareCopyright © 2013–2014 DuraSpace, Inc.. All rights reserved.