Class ServerFilePartBodyHandler
java.lang.Object
org.jboss.resteasy.reactive.common.providers.serialisers.FilePartBodyHandler
org.jboss.resteasy.reactive.server.providers.serialisers.ServerFilePartBodyHandler
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<FilePart>
,ServerMessageBodyWriter<FilePart>
@Produces("*/*")
@Consumes("*/*")
public class ServerFilePartBodyHandler
extends FilePartBodyHandler
implements ServerMessageBodyWriter<FilePart>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter
ServerMessageBodyWriter.AllWriteableMessageBodyWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
getSize
(FilePart o, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) boolean
isWriteable
(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType) void
writeResponse
(FilePart o, Type genericType, ServerRequestContext context) Methods inherited from class org.jboss.resteasy.reactive.common.providers.serialisers.FilePartBodyHandler
doWrite, isWriteable, writeTo
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
isWriteable, writeTo
-
Constructor Details
-
ServerFilePartBodyHandler
public ServerFilePartBodyHandler()
-
-
Method Details
-
getSize
public long getSize(FilePart o, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
getSize
in interfacejakarta.ws.rs.ext.MessageBodyWriter<FilePart>
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isWriteable
in interfaceServerMessageBodyWriter<FilePart>
-
writeResponse
public void writeResponse(FilePart o, Type genericType, ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException - Specified by:
writeResponse
in interfaceServerMessageBodyWriter<FilePart>
- Throws:
jakarta.ws.rs.WebApplicationException
-