Package gluu.scim2.client.rest.provider
Class ListResponseProvider
- java.lang.Object
-
- gluu.scim2.client.rest.provider.ListResponseProvider
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<ListResponse>
@Provider @Consumes({"application/scim+json","application/json"}) public class ListResponseProvider extends Object implements jakarta.ws.rs.ext.MessageBodyReader<ListResponse>
A custom provider for deserialization oforg.gluu.oxtrust.model.scim2.ListResponse
objects. This allows reading (deserializing) subclasses oforg.gluu.oxtrust.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(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
ListResponse
readFrom(Class type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap httpHeaders, InputStream entityStream)
-
-
-
Method Detail
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
isReadable
in interfacejakarta.ws.rs.ext.MessageBodyReader<ListResponse>
-
readFrom
public ListResponse readFrom(Class type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap httpHeaders, InputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException
- Specified by:
readFrom
in interfacejakarta.ws.rs.ext.MessageBodyReader<ListResponse>
- Throws:
IOException
jakarta.ws.rs.WebApplicationException
-
-