Class ListResponseProvider
- java.lang.Object
-
- io.jans.scim2.client.rest.provider.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 ofio.jans.scim.model.scim2.ListResponse
objects. This allows reading (deserializing) subclasses ofio.jans.scim.model.scim2.BaseScimResource
correctly.Developers do not need to manipulate this class for their SCIM applications.
-
-
Constructor Summary
Constructors Constructor Description ListResponseProvider()
-
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)
-
-
-
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 interfacejavax.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 interfacejavax.ws.rs.ext.MessageBodyReader<io.jans.scim.model.scim2.ListResponse>
- Throws:
java.io.IOException
javax.ws.rs.WebApplicationException
-
-