Class 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 Detail

      • GroupResourceReader

        public GroupResourceReader()
    • Method Detail

      • isReadable

        public boolean isReadable​(Class<?> type,
                                  Type genericType,
                                  Annotation[] annotations,
                                  javax.ws.rs.core.MediaType mediaType)
        Specified by:
        isReadable in interface javax.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 interface javax.ws.rs.ext.MessageBodyReader<com.unboundid.scim.data.GroupResource>
        Throws:
        IOException
        javax.ws.rs.WebApplicationException