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