All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.resteasy.spi.interception.MessageBodyReaderInterceptor Maven / Gradle / Ivy

There is a newer version: 4.0.0.Beta5
Show newest version
package org.jboss.resteasy.spi.interception;

import javax.ws.rs.WebApplicationException;
import java.io.IOException;

/**
 * Wraps around invocations of MessageBodyReader.readFrom().
 *
 * @author Bill Burke
 * @version $Revision: 1 $
 *
 * @deprecated The Resteasy interceptor facility introduced in release 2.x
 * is replaced by the JAX-RS 2.0 compliant interceptor facility in release 3.0.x.
 *
 * @see jaxrs-api
 * @see javax.ws.rs.ext.ReaderInterceptor
 */
@Deprecated
public interface MessageBodyReaderInterceptor
{
   /**
    * @param context
    * @return the object read
    * @throws IOException
    * @throws WebApplicationException
    */
   Object read(MessageBodyReaderContext context) throws IOException, WebApplicationException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy