Class ListResponseProvider

  • All Implemented Interfaces:
    javax.ws.rs.ext.MessageBodyReader<io.jans.scim.model.scim2.ListResponse>

    @Provider
    @Consumes({"application/scim+json","application/json"})
    public class ListResponseProvider
    extends java.lang.Object
    implements javax.ws.rs.ext.MessageBodyReader<io.jans.scim.model.scim2.ListResponse>
    A custom provider for deserialization of io.jans.scim.model.scim2.ListResponse objects. This allows reading (deserializing) subclasses of io.jans.scim.model.scim2.BaseScimResource correctly.

    Developers do not need to manipulate this class for their SCIM applications.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isReadable​(java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)  
      io.jans.scim.model.scim2.ListResponse readFrom​(java.lang.Class type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap httpHeaders, java.io.InputStream entityStream)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ListResponseProvider

        public ListResponseProvider()
    • Method Detail

      • isReadable

        public boolean isReadable​(java.lang.Class<?> type,
                                  java.lang.reflect.Type genericType,
                                  java.lang.annotation.Annotation[] annotations,
                                  javax.ws.rs.core.MediaType mediaType)
        Specified by:
        isReadable in interface javax.ws.rs.ext.MessageBodyReader<io.jans.scim.model.scim2.ListResponse>
      • readFrom

        public io.jans.scim.model.scim2.ListResponse readFrom​(java.lang.Class type,
                                                              java.lang.reflect.Type genericType,
                                                              java.lang.annotation.Annotation[] annotations,
                                                              javax.ws.rs.core.MediaType mediaType,
                                                              javax.ws.rs.core.MultivaluedMap httpHeaders,
                                                              java.io.InputStream entityStream)
                                                       throws java.io.IOException,
                                                              javax.ws.rs.WebApplicationException
        Specified by:
        readFrom in interface javax.ws.rs.ext.MessageBodyReader<io.jans.scim.model.scim2.ListResponse>
        Throws:
        java.io.IOException
        javax.ws.rs.WebApplicationException