@Provider public class ItemPermissionSetProvider extends Object implements javax.ws.rs.ext.MessageBodyReader<ItemPermissionSet>, JsonMessageBodyHandler
mapper
Constructor and Description |
---|
ItemPermissionSetProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
ItemPermissionSet |
readFrom(Class<ItemPermissionSet> bundleClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream stream) |
public boolean isReadable(Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<ItemPermissionSet>
public ItemPermissionSet readFrom(Class<ItemPermissionSet> bundleClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> headers, InputStream stream) throws IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<ItemPermissionSet>
IOException
javax.ws.rs.WebApplicationException
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.