Class TemplateViewMessageBodyWriter
- java.lang.Object
-
- org.nuxeo.ecm.webengine.jaxrs.views.TemplateViewMessageBodyWriter
-
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyWriter<TemplateView>
@Provider public class TemplateViewMessageBodyWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<TemplateView>
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description TemplateViewMessageBodyWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getSize(TemplateView arg0, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4)
boolean
isWriteable(Class<?> arg0, Type type, Annotation[] arg2, javax.ws.rs.core.MediaType arg3)
void
writeTo(TemplateView t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)
-
-
-
Method Detail
-
writeTo
public void writeTo(TemplateView 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
- Specified by:
writeTo
in interfacejavax.ws.rs.ext.MessageBodyWriter<TemplateView>
- Throws:
IOException
-
getSize
public long getSize(TemplateView arg0, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4)
- Specified by:
getSize
in interfacejavax.ws.rs.ext.MessageBodyWriter<TemplateView>
-
isWriteable
public boolean isWriteable(Class<?> arg0, Type type, Annotation[] arg2, javax.ws.rs.core.MediaType arg3)
- Specified by:
isWriteable
in interfacejavax.ws.rs.ext.MessageBodyWriter<TemplateView>
-
-