DocumentModelListJsonReader
which is registered by default and available to marshal
DocumentModel
's list from the Nuxeo Rest API thanks to the JAX-RS marshaller
JsonCoreIODelegate
@Deprecated public class JSONDocumentModelListReader extends Object implements javax.ws.rs.ext.MessageBodyReader<DocumentModelList>
Constructor and Description |
---|
JSONDocumentModelListReader()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
Deprecated.
|
DocumentModelList |
readFrom(Class<DocumentModelList> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
Deprecated.
|
static DocumentModelList |
readRequest(org.codehaus.jackson.JsonParser jp,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
javax.servlet.http.HttpServletRequest request)
Deprecated.
|
DocumentModelList |
readRequest(String content,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
javax.servlet.http.HttpServletRequest request)
Deprecated.
|
public JSONDocumentModelListReader()
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<DocumentModelList>
public DocumentModelList readFrom(Class<DocumentModelList> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<DocumentModelList>
IOException
javax.ws.rs.WebApplicationException
public DocumentModelList readRequest(String content, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, javax.servlet.http.HttpServletRequest request) throws IOException
content
- httpHeaders
- IOException
public static DocumentModelList readRequest(org.codehaus.jackson.JsonParser jp, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, javax.servlet.http.HttpServletRequest request) throws IOException
jp
- httpHeaders
- request2
- IOException
Copyright © 2015 Nuxeo SA. All rights reserved.