@Provider public class JsonAutomationInfoWriter extends Object implements MessageBodyWriter<AutomationInfo>
Constructor and Description |
---|
JsonAutomationInfoWriter() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(AutomationInfo arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4) |
boolean |
isWriteable(Class<?> arg0,
Type arg1,
Annotation[] arg2,
MediaType arg3) |
void |
writeTo(AutomationInfo info,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4,
MultivaluedMap<String,Object> arg5,
OutputStream out) |
public long getSize(AutomationInfo arg0, Class<?> arg1, Type arg2, Annotation[] arg3, MediaType arg4)
getSize
in interface MessageBodyWriter<AutomationInfo>
public boolean isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, MediaType arg3)
isWriteable
in interface MessageBodyWriter<AutomationInfo>
public void writeTo(AutomationInfo info, Class<?> arg1, Type arg2, Annotation[] arg3, MediaType arg4, MultivaluedMap<String,Object> arg5, OutputStream out) throws IOException, WebApplicationException
writeTo
in interface MessageBodyWriter<AutomationInfo>
IOException
WebApplicationException
Copyright © 2013 Nuxeo SA. All Rights Reserved.