org.nuxeo.ecm.automation.server.jaxrs.io
Class JsonAutomationInfoWriter
java.lang.Object
  
org.nuxeo.ecm.automation.server.jaxrs.io.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
 
 
| 
Method Summary | 
 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 arg0,
        Class<?> arg1,
        Type arg2,
        Annotation[] arg3,
        javax.ws.rs.core.MediaType arg4,
        javax.ws.rs.core.MultivaluedMap<String,Object> arg5,
        OutputStream arg6)
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JsonAutomationInfoWriter
public JsonAutomationInfoWriter()
getSize
public long getSize(AutomationInfo arg0,
                    Class<?> arg1,
                    Type arg2,
                    Annotation[] arg3,
                    javax.ws.rs.core.MediaType arg4)
- Specified by:
 getSize in interface javax.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 interface javax.ws.rs.ext.MessageBodyWriter<AutomationInfo>
 
 
writeTo
public void writeTo(AutomationInfo arg0,
                    Class<?> arg1,
                    Type arg2,
                    Annotation[] arg3,
                    javax.ws.rs.core.MediaType arg4,
                    javax.ws.rs.core.MultivaluedMap<String,Object> arg5,
                    OutputStream arg6)
             throws IOException,
                    javax.ws.rs.WebApplicationException
- Specified by:
 writeTo in interface javax.ws.rs.ext.MessageBodyWriter<AutomationInfo>
 
- Throws:
 IOException
javax.ws.rs.WebApplicationException
 
Copyright © 2010 Nuxeo SAS. All Rights Reserved.