Class QuarkusServerPathBodyHandler
- java.lang.Object
-
- io.quarkus.resteasy.reactive.server.runtime.QuarkusServerPathBodyHandler
-
-
Constructor Summary
Constructors Constructor Description QuarkusServerPathBodyHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (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)PathreadFrom(Class<Path> type, Type genericType, jakarta.ws.rs.core.MediaType mediaType, org.jboss.resteasy.reactive.server.spi.ServerRequestContext context)PathreadFrom(Class<Path> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream)
-
-
-
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:
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
-
-