public class JSONDocumentModelListReader extends Object implements javax.ws.rs.ext.MessageBodyReader<DocumentModelList>
Constructor and Description |
---|
JSONDocumentModelListReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
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) |
static DocumentModelList |
readRequest(org.codehaus.jackson.JsonParser jp,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
javax.servlet.http.HttpServletRequest request) |
DocumentModelList |
readRequest(String content,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
javax.servlet.http.HttpServletRequest request) |
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.