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<org.jboss.resteasy.reactive.FilePart>, ServerMessageBodyWriter<org.jboss.resteasy.reactive.FilePart>

@Produces("*/*") @Consumes("*/*") public class ServerFilePartBodyHandler extends org.jboss.resteasy.reactive.common.providers.serialisers.FilePartBodyHandler implements ServerMessageBodyWriter<org.jboss.resteasy.reactive.FilePart>
  • Constructor Details

    • ServerFilePartBodyHandler

      public ServerFilePartBodyHandler()
  • Method Details

    • getSize

      public long getSize(org.jboss.resteasy.reactive.FilePart o, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      getSize in interface jakarta.ws.rs.ext.MessageBodyWriter<org.jboss.resteasy.reactive.FilePart>
    • isWriteable

      public boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      isWriteable in interface ServerMessageBodyWriter<org.jboss.resteasy.reactive.FilePart>
    • writeResponse

      public void writeResponse(org.jboss.resteasy.reactive.FilePart o, Type genericType, ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException
      Specified by:
      writeResponse in interface ServerMessageBodyWriter<org.jboss.resteasy.reactive.FilePart>
      Throws:
      jakarta.ws.rs.WebApplicationException