Class ServerJacksonMessageBodyReader
- java.lang.Object
-
- org.jboss.resteasy.reactive.common.providers.serialisers.AbstractJsonMessageBodyReader
-
- org.jboss.resteasy.reactive.server.jackson.JacksonBasicMessageBodyReader
-
- io.quarkus.resteasy.reactive.jackson.runtime.serialisers.ServerJacksonMessageBodyReader
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<Object>
,org.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader<Object>
public class ServerJacksonMessageBodyReader extends org.jboss.resteasy.reactive.server.jackson.JacksonBasicMessageBodyReader implements org.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader<Object>
-
-
Constructor Summary
Constructors Constructor Description ServerJacksonMessageBodyReader(com.fasterxml.jackson.databind.ObjectMapper mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
boolean
isReadable(Class<?> type, Type genericType, org.jboss.resteasy.reactive.server.spi.ResteasyReactiveResourceInfo lazyMethod, jakarta.ws.rs.core.MediaType mediaType)
Object
readFrom(Class<Object> type, Type genericType, jakarta.ws.rs.core.MediaType mediaType, org.jboss.resteasy.reactive.server.spi.ServerRequestContext context)
Object
readFrom(Class<Object> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream)
-
Methods inherited from class org.jboss.resteasy.reactive.server.jackson.JacksonBasicMessageBodyReader
getEffectiveReader
-
-
-
-
Method Detail
-
readFrom
public Object readFrom(Class<Object> 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 interfacejakarta.ws.rs.ext.MessageBodyReader<Object>
- Overrides:
readFrom
in classorg.jboss.resteasy.reactive.server.jackson.JacksonBasicMessageBodyReader
- Throws:
IOException
jakarta.ws.rs.WebApplicationException
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
isReadable
in interfacejakarta.ws.rs.ext.MessageBodyReader<Object>
- Overrides:
isReadable
in classorg.jboss.resteasy.reactive.common.providers.serialisers.AbstractJsonMessageBodyReader
-
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 interfaceorg.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader<Object>
-
readFrom
public Object readFrom(Class<Object> 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 interfaceorg.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader<Object>
- Throws:
jakarta.ws.rs.WebApplicationException
IOException
-
-