resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/interception/MessageBodyReaderInterceptor.java
raw symbols SCIP| 1 | package org.jboss.resteasy.spi.interception; |
| 2 | |
| 3 | import javax.ws.rs.WebApplicationException; |
| 4 | import java.io.IOException; |
| 5 | |
| 6 | /** |
| 7 | * Wraps around invocations of MessageBodyReader.readFrom(). |
| 8 | * |
| 9 | * @author <a href="mailto:[email protected]">Bill Burke</a> |
| 10 | * @version $Revision: 1 $ |
| 11 | * |
| 12 | * @deprecated The Resteasy interceptor facility introduced in release 2.x |
| 13 | * is replaced by the JAX-RS 2.0 compliant interceptor facility in release 3.0.x. |
| 14 | * |
| 15 | * @see jaxrs-api (https://jcp.org/en/jsr/detail?id=339) |
| 16 | * @see javax.ws.rs.ext.ReaderInterceptor |
| 17 | */ |
| 18 | @Deprecated |
| 19 | public interface MessageBodyReaderInterceptor |
| 20 | { |
| 21 | /** |
| 22 | * @param context |
| 23 | * @return the object read |
| 24 | * @throws IOException |
| 25 | * @throws WebApplicationException |
| 26 | */ |
| 27 | Object read(MessageBodyReaderContext context) throws IOException, WebApplicationException; |
| 28 | |
| 29 | } |