Class QuarkusServerPathBodyHandler
java.lang.Object
io.quarkus.resteasy.reactive.server.runtime.QuarkusServerPathBodyHandler
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<Path>,org.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader<Path>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static PathcreateFile(org.jboss.resteasy.reactive.server.spi.ServerRequestContext context) booleanisReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) booleanisReadable(Class<?> type, Type genericType, org.jboss.resteasy.reactive.server.spi.ResteasyReactiveResourceInfo lazyMethod, jakarta.ws.rs.core.MediaType mediaType) readFrom(Class<Path> type, Type genericType, jakarta.ws.rs.core.MediaType mediaType, org.jboss.resteasy.reactive.server.spi.ServerRequestContext context) readFrom(Class<Path> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, String> httpHeaders, InputStream entityStream)
-
Constructor Details
-
QuarkusServerPathBodyHandler
public QuarkusServerPathBodyHandler()
-
-
Method Details
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, org.jboss.resteasy.reactive.server.spi.ResteasyReactiveResourceInfo lazyMethod, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isReadablein interfaceorg.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:
readFromin interfaceorg.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader<Path>- Throws:
jakarta.ws.rs.WebApplicationExceptionIOException
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isReadablein interfacejakarta.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:
readFromin interfacejakarta.ws.rs.ext.MessageBodyReader<Path>- Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-
createFile
static Path createFile(org.jboss.resteasy.reactive.server.spi.ServerRequestContext context) throws IOException - Throws:
IOException
-