Class ClientJaxbMessageBodyReader
java.lang.Object
io.quarkus.rest.client.reactive.jaxb.runtime.ClientJaxbMessageBodyReader
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<Object>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisReadable(jakarta.ws.rs.core.MediaType mediaType, Class<?> type) booleanisReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) readFrom(Class<Object> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, String> httpHeaders, InputStream entityStream) protected Objectunmarshal(InputStream entityStream, Class<Object> type)
-
Field Details
-
unmarshaller
@Inject jakarta.xml.bind.Unmarshaller unmarshaller
-
-
Constructor Details
-
ClientJaxbMessageBodyReader
public ClientJaxbMessageBodyReader()
-
-
Method Details
-
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 jakarta.ws.rs.WebApplicationException, IOException- Specified by:
readFromin interfacejakarta.ws.rs.ext.MessageBodyReader<Object>- 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<Object>
-
isReadable
-
unmarshal
-