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 SCIM
UserResource
- Since:
- 7.4
- Author:
- tiry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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)
-
Constructor Details
-
UserResourceReader
public UserResourceReader()
-
-
Method Details
-
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
-