
| Constructor and Description |
|---|
JsonMessageBodyWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(Object instance,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(Object instance,
Class<?> type,
Type gt,
Annotation[] anno,
javax.ws.rs.core.MediaType mt,
javax.ws.rs.core.MultivaluedMap<String,Object> h,
OutputStream entityStream) |
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<Object>public long getSize(Object instance, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<Object>public void writeTo(Object instance, Class<?> type, Type gt, Annotation[] anno, javax.ws.rs.core.MediaType mt, javax.ws.rs.core.MultivaluedMap<String,Object> h, OutputStream entityStream)
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<Object>Copyright © 2017–2018 earcam. All rights reserved.