@Provider public class InheritedItemPermissionSetProvider extends Object implements javax.ws.rs.ext.MessageBodyWriter<InheritedItemPermissionSet>, JsonMessageBodyHandler
mapper| Constructor and Description |
|---|
InheritedItemPermissionSetProvider() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(InheritedItemPermissionSet permissionSet,
Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(InheritedItemPermissionSet itemPermissionSet,
Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> headers,
OutputStream outputStream) |
public boolean isWriteable(Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<InheritedItemPermissionSet>public long getSize(InheritedItemPermissionSet permissionSet, Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<InheritedItemPermissionSet>public void writeTo(InheritedItemPermissionSet itemPermissionSet, Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> headers, OutputStream outputStream) throws IOException, javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<InheritedItemPermissionSet>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.