Class UserResourceReader
- java.lang.Object
-
- org.nuxeo.scim.server.jaxrs.marshalling.UserResourceReader
-
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<com.unboundid.scim.data.UserResource>
@Provider public class UserResourceReader extends Object implements javax.ws.rs.ext.MessageBodyReader<com.unboundid.scim.data.UserResource>
Handles marshaling for SCIMUserResource
- Since:
- 7.4
- Author:
- tiry
-
-
Constructor Summary
Constructors Constructor Description UserResourceReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
com.unboundid.scim.data.UserResource
readFrom(Class<com.unboundid.scim.data.UserResource> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream)
-
-
-
Method Detail
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
- Specified by:
isReadable
in interfacejavax.ws.rs.ext.MessageBodyReader<com.unboundid.scim.data.UserResource>
-
readFrom
public com.unboundid.scim.data.UserResource readFrom(Class<com.unboundid.scim.data.UserResource> 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
- Specified by:
readFrom
in interfacejavax.ws.rs.ext.MessageBodyReader<com.unboundid.scim.data.UserResource>
- Throws:
IOException
javax.ws.rs.WebApplicationException
-
-