标签: jersey jax-rs resteasy
考虑包装和包装的对象,例如:
new Living( new Person () ), new Dead ( new Animal () ), ... //pseudocode
我MessageBodyWriter和Dead Living,在完成工作后(比如说为Dead返回404)需要将writeTo()委托给MessageBodyWriter {}}和Person。
MessageBodyWriter
Dead
Living
writeTo()
Person
有没有办法查询MessageBodyWriters的JAX-RS实现或向下提交对象?