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 SCIMGroupResource
- Since:
- 7.4
- Author:
- tiry
-
-
Constructor Summary
Constructors Constructor Description GroupResourceReader()
-
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.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)
-
-
-
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.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
-
-