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 Constructor Description ServerFilePartBodyHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetSize(FilePart o, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)booleanisWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType)voidwriteResponse(FilePart o, Type genericType, ServerRequestContext context)-
Methods inherited from class org.jboss.resteasy.reactive.common.providers.serialisers.FilePartBodyHandler
doWrite, isWriteable, writeTo
-
-
-
-
Method Detail
-
getSize
public long getSize(FilePart o, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
getSizein interfacejakarta.ws.rs.ext.MessageBodyWriter<FilePart>
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteablein interfaceServerMessageBodyWriter<FilePart>
-
writeResponse
public void writeResponse(FilePart o, Type genericType, ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException
- Specified by:
writeResponsein interfaceServerMessageBodyWriter<FilePart>- Throws:
jakarta.ws.rs.WebApplicationException
-
-