@Provider @Produces(value="application/json") public class TckTestJsonMarshaller extends Object implements javax.ws.rs.ext.MessageBodyWriter<org.eclipse.microprofile.lra.tck.TckMethodResult>
| Constructor and Description |
|---|
TckTestJsonMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(org.eclipse.microprofile.lra.tck.TckMethodResult test,
Class<?> clazz,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> clazz,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(org.eclipse.microprofile.lra.tck.TckMethodResult test,
Class<?> clazz,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> valueMap,
OutputStream stream) |
public long getSize(org.eclipse.microprofile.lra.tck.TckMethodResult test, Class<?> clazz, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<org.eclipse.microprofile.lra.tck.TckMethodResult>public boolean isWriteable(Class<?> clazz, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<org.eclipse.microprofile.lra.tck.TckMethodResult>public void writeTo(org.eclipse.microprofile.lra.tck.TckMethodResult test, Class<?> clazz, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> valueMap, OutputStream stream) throws IOException, javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<org.eclipse.microprofile.lra.tck.TckMethodResult>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2018 Eclipse Foundation. All rights reserved.