Class SingleEntityPartWriter
java.lang.Object
org.glassfish.jersey.media.multipart.internal.SingleEntityPartWriter
- All Implemented Interfaces:
MessageBodyWriter<EntityPart>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isWriteable
(Class<?> type, Type generic, Annotation[] annotations, MediaType mediaType) void
writeTo
(EntityPart entityParts, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.ws.rs.ext.MessageBodyWriter
getSize
-
Constructor Details
-
SingleEntityPartWriter
-
-
Method Details
-
isWriteable
public boolean isWriteable(Class<?> type, Type generic, Annotation[] annotations, MediaType mediaType) - Specified by:
isWriteable
in interfaceMessageBodyWriter<EntityPart>
-
writeTo
public void writeTo(EntityPart entityParts, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) throws IOException, WebApplicationException- Specified by:
writeTo
in interfaceMessageBodyWriter<EntityPart>
- Throws:
IOException
WebApplicationException
-