Class JsonAutomationInfoWriter
- java.lang.Object
-
- org.nuxeo.ecm.automation.jaxrs.io.operations.JsonAutomationInfoWriter
-
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyWriter<AutomationInfo>
@Provider public class JsonAutomationInfoWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<AutomationInfo>
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.servlet.http.HttpServletRequest
request
-
Constructor Summary
Constructors Constructor Description JsonAutomationInfoWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getSize(AutomationInfo arg0, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4)
boolean
isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, javax.ws.rs.core.MediaType arg3)
void
writeTo(AutomationInfo info, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4, javax.ws.rs.core.MultivaluedMap<String,Object> arg5, OutputStream out)
-
-
-
Method Detail
-
getSize
public long getSize(AutomationInfo arg0, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4)
- Specified by:
getSize
in interfacejavax.ws.rs.ext.MessageBodyWriter<AutomationInfo>
-
isWriteable
public boolean isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, javax.ws.rs.core.MediaType arg3)
- Specified by:
isWriteable
in interfacejavax.ws.rs.ext.MessageBodyWriter<AutomationInfo>
-
writeTo
public void writeTo(AutomationInfo info, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4, javax.ws.rs.core.MultivaluedMap<String,Object> arg5, OutputStream out) throws IOException, javax.ws.rs.WebApplicationException
- Specified by:
writeTo
in interfacejavax.ws.rs.ext.MessageBodyWriter<AutomationInfo>
- Throws:
IOException
javax.ws.rs.WebApplicationException
-
-