| Constructor and Description |
|---|
MessageWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(Message message,
Class<?> clazz,
Type type,
Annotation[] annotation,
jakarta.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> clazz,
Type type,
Annotation[] annotation,
jakarta.ws.rs.core.MediaType mediaType) |
void |
writeTo(Message message,
Class<?> clazz,
Type type,
Annotation[] annotation,
jakarta.ws.rs.core.MediaType mediaType,
jakarta.ws.rs.core.MultivaluedMap<String,Object> arg5,
OutputStream ostream) |
public boolean isWriteable(Class<?> clazz, Type type, Annotation[] annotation, jakarta.ws.rs.core.MediaType mediaType)
isWriteable in interface jakarta.ws.rs.ext.MessageBodyWriter<Message>public long getSize(Message message, Class<?> clazz, Type type, Annotation[] annotation, jakarta.ws.rs.core.MediaType mediaType)
getSize in interface jakarta.ws.rs.ext.MessageBodyWriter<Message>public void writeTo(Message message, Class<?> clazz, Type type, Annotation[] annotation, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> arg5, OutputStream ostream) throws IOException, jakarta.ws.rs.WebApplicationException
writeTo in interface jakarta.ws.rs.ext.MessageBodyWriter<Message>IOExceptionjakarta.ws.rs.WebApplicationExceptionCopyright © 2007-2019, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.