org.jboss.resteasy.reactive.server.spi.ServerMessageBodyReader Maven / Gradle / Ivy
package org.jboss.resteasy.reactive.server.spi;
import java.io.IOException;
import java.lang.reflect.Type;
import jakarta.ws.rs.WebApplicationException;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.ext.MessageBodyReader;
public interface ServerMessageBodyReader extends MessageBodyReader {
boolean isReadable(Class> type, Type genericType,
ResteasyReactiveResourceInfo lazyMethod, MediaType mediaType);
T readFrom(Class type, Type genericType, MediaType mediaType,
ServerRequestContext context) throws WebApplicationException, IOException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy