org.jboss.resteasy.reactive.common.providers.serialisers.DefaultTextPlainBodyHandler Maven / Gradle / Ivy
package org.jboss.resteasy.reactive.common.providers.serialisers;
import java.io.IOException;
import java.io.InputStream;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import jakarta.ws.rs.ProcessingException;
import jakarta.ws.rs.WebApplicationException;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.MultivaluedMap;
import jakarta.ws.rs.ext.MessageBodyReader;
import org.jboss.resteasy.reactive.common.util.TypeConverter;
/**
* @author Bill Burke
* @version $Revision: 1 $
*
* TODO: Reevaluate this as it depends on a lot of reflection for reading Java types.
* It should not be difficult to write handlers for these cases...
*/
public abstract class DefaultTextPlainBodyHandler implements MessageBodyReader