| Constructor and Description |
|---|
BundleProvider() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(Bundle bundle,
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) |
Bundle |
readFrom(Class<Bundle> bundleClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream stream) |
void |
writeTo(Bundle bundle,
Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> multivaluedMap,
OutputStream outputStream) |
public boolean isReadable(Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable in interface javax.ws.rs.ext.MessageBodyReader<Bundle>public Bundle readFrom(Class<Bundle> 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<Bundle>IOExceptionjavax.ws.rs.WebApplicationExceptionpublic boolean isWriteable(Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<Bundle>public long getSize(Bundle bundle, Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<Bundle>public void writeTo(Bundle bundle, 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<Bundle>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.