Constructor and Description |
---|
TestMessageBodyWriter() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(String s,
Class<?> aClass,
Type type,
Annotation[] annotations,
jakarta.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> aClass,
Type type,
Annotation[] annotations,
jakarta.ws.rs.core.MediaType mediaType) |
void |
writeTo(String s,
Class<?> aClass,
Type type,
Annotation[] annotations,
jakarta.ws.rs.core.MediaType mediaType,
jakarta.ws.rs.core.MultivaluedMap<String,Object> multivaluedMap,
OutputStream outputStream) |
public boolean isWriteable(Class<?> aClass, Type type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
isWriteable
in interface jakarta.ws.rs.ext.MessageBodyWriter<String>
public long getSize(String s, Class<?> aClass, Type type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
getSize
in interface jakarta.ws.rs.ext.MessageBodyWriter<String>
public void writeTo(String s, Class<?> aClass, Type type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> multivaluedMap, OutputStream outputStream) throws IOException, jakarta.ws.rs.WebApplicationException
writeTo
in interface jakarta.ws.rs.ext.MessageBodyWriter<String>
IOException
jakarta.ws.rs.WebApplicationException
Copyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.