@Override public Object readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) throws IOException, WebApplicationException { return jaxbProvider.isReadable(type, genericType, annotations, mediaType) ? jaxbProvider.readFrom(type, genericType, annotations, mediaType, httpHeaders, entityStream) : pojoProvider.readFrom(type, genericType, annotations, mediaType, httpHeaders, entityStream); }
@Override public Object readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) throws IOException, WebApplicationException { return jaxbProvider.isReadable(type, genericType, annotations, mediaType) ? jaxbProvider.readFrom(type, genericType, annotations, mediaType, httpHeaders, entityStream) : pojoProvider.readFrom(type, genericType, annotations, mediaType, httpHeaders, entityStream); }
@Override public Object readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) throws IOException, WebApplicationException { return jaxbProvider.isReadable(type, genericType, annotations, mediaType) ? jaxbProvider.readFrom(type, genericType, annotations, mediaType, httpHeaders, entityStream) : pojoProvider.readFrom(type, genericType, annotations, mediaType, httpHeaders, entityStream); }