Class GroupResourceReader
java.lang.Object
org.nuxeo.scim.server.jaxrs.marshalling.GroupResourceReader
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<com.unboundid.scim.data.GroupResource>
@Provider
public class GroupResourceReader
extends Object
implements javax.ws.rs.ext.MessageBodyReader<com.unboundid.scim.data.GroupResource>
Handles marshaling for SCIM
GroupResource
- 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.GroupResource
readFrom
(Class<com.unboundid.scim.data.GroupResource> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String, String> httpHeaders, InputStream entityStream)
-
Constructor Details
-
GroupResourceReader
public GroupResourceReader()
-
-
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.GroupResource>
-
readFrom
public com.unboundid.scim.data.GroupResource readFrom(Class<com.unboundid.scim.data.GroupResource> 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.GroupResource>
- Throws:
IOException
javax.ws.rs.WebApplicationException
-