@Provider public class SyncLogProvider extends Object implements javax.ws.rs.ext.MessageBodyWriter<SyncLog>, javax.ws.rs.ext.MessageBodyReader<SyncLog>, JsonMessageBodyHandler
mapper| Constructor and Description |
|---|
SyncLogProvider() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(SyncLog syncLog,
Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isReadable(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) |
SyncLog |
readFrom(Class<SyncLog> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> multivaluedMap,
InputStream inputStream) |
void |
writeTo(SyncLog syncLog,
Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> multivaluedMap,
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<SyncLog>public long getSize(SyncLog syncLog, Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<SyncLog>public void writeTo(SyncLog syncLog, Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> multivaluedMap, OutputStream outputStream) throws IOException, javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<SyncLog>IOExceptionjavax.ws.rs.WebApplicationExceptionpublic boolean isReadable(Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable in interface javax.ws.rs.ext.MessageBodyReader<SyncLog>public SyncLog readFrom(Class<SyncLog> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> multivaluedMap, InputStream inputStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom in interface javax.ws.rs.ext.MessageBodyReader<SyncLog>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.