Interface ClientMessageBodyWriter<T>
- All Superinterfaces:
jakarta.ws.rs.ext.MessageBodyWriter<T>
public interface ClientMessageBodyWriter<T>
extends jakarta.ws.rs.ext.MessageBodyWriter<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoidwriteTo(T t, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream, RestClientRequestContext context) Methods inherited from interface jakarta.ws.rs.ext.MessageBodyWriter
getSize, isWriteable, writeTo
-
Method Details
-
writeTo
void writeTo(T t, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream, RestClientRequestContext context) throws IOException, jakarta.ws.rs.WebApplicationException- Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-