Class QuarkusServerPathBodyHandler

  • All Implemented Interfaces:
    jakarta.ws.rs.ext.MessageBodyReader<Path>, org.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader<Path>

    public class QuarkusServerPathBodyHandler
    extends Object
    implements org.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader<Path>
    • Constructor Detail

      • QuarkusServerPathBodyHandler

        public QuarkusServerPathBodyHandler()
    • Method Detail

      • isReadable

        public boolean isReadable​(Class<?> type,
                                  Type genericType,
                                  org.jboss.resteasy.reactive.server.spi.ResteasyReactiveResourceInfo lazyMethod,
                                  jakarta.ws.rs.core.MediaType mediaType)
        Specified by:
        isReadable in interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader<Path>
      • readFrom

        public Path readFrom​(Class<Path> type,
                             Type genericType,
                             jakarta.ws.rs.core.MediaType mediaType,
                             org.jboss.resteasy.reactive.server.spi.ServerRequestContext context)
                      throws jakarta.ws.rs.WebApplicationException,
                             IOException
        Specified by:
        readFrom in interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader<Path>
        Throws:
        jakarta.ws.rs.WebApplicationException
        IOException
      • isReadable

        public boolean isReadable​(Class<?> type,
                                  Type genericType,
                                  Annotation[] annotations,
                                  jakarta.ws.rs.core.MediaType mediaType)
        Specified by:
        isReadable in interface jakarta.ws.rs.ext.MessageBodyReader<Path>
      • readFrom

        public Path readFrom​(Class<Path> type,
                             Type genericType,
                             Annotation[] annotations,
                             jakarta.ws.rs.core.MediaType mediaType,
                             jakarta.ws.rs.core.MultivaluedMap<String,​String> httpHeaders,
                             InputStream entityStream)
                      throws IOException,
                             jakarta.ws.rs.WebApplicationException
        Specified by:
        readFrom in interface jakarta.ws.rs.ext.MessageBodyReader<Path>
        Throws:
        IOException
        jakarta.ws.rs.WebApplicationException
      • createFile

        static Path createFile​(org.jboss.resteasy.reactive.server.spi.ServerRequestContext context)
                        throws IOException
        Throws:
        IOException