@Provider public class BooleanProvider extends Object implements javax.ws.rs.ext.MessageBodyWriter<Boolean>, JsonMessageBodyHandler
mapper| Constructor and Description |
|---|
BooleanProvider() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(Boolean bool,
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(Boolean bool,
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<Boolean>public long getSize(Boolean bool, Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<Boolean>public void writeTo(Boolean bool, 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<Boolean>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.