Class FilePartBodyHandler
java.lang.Object
org.jboss.resteasy.reactive.common.providers.serialisers.FilePartBodyHandler
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<FilePart>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doWrite
(FilePart uploadFile, OutputStream out) boolean
isWriteable
(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) void
writeTo
(FilePart uploadFile, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.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
-
FilePartBodyHandler
public FilePartBodyHandler()
-
-
Method Details
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isWriteable
in interfacejakarta.ws.rs.ext.MessageBodyWriter<FilePart>
-
writeTo
public void writeTo(FilePart uploadFile, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) throws IOException- Specified by:
writeTo
in interfacejakarta.ws.rs.ext.MessageBodyWriter<FilePart>
- Throws:
IOException
-
doWrite
- Throws:
IOException
-