com.fasterxml.jackson.jaxrs.cfg.ObjectReaderModifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ehcache Show documentation
Show all versions of ehcache Show documentation
Ehcache is an open source, standards-based cache used to boost performance,
offload the database and simplify scalability. Ehcache is robust, proven and full-featured and
this has made it the most widely-used Java-based cache.
package com.fasterxml.jackson.jaxrs.cfg;
import java.io.IOException;
import javax.ws.rs.core.MultivaluedMap;
import com.fasterxml.jackson.core.*;
import com.fasterxml.jackson.databind.*;
/**
* @since 2.3
*/
public abstract class ObjectReaderModifier
{
/**
* Method called to let modifier make any changes it wants to to objects
* used for reading request objects for specified endpoint.
*
* @param endpoint End point for which reader is used
* @param httpHeaders HTTP headers sent with request (read-only)
* @param resultType Type that input is to be bound to
* @param r ObjectReader as constructed for endpoint, type to handle
* @param p Parser to use for reading content
*/
public abstract ObjectReader modify(EndpointConfigBase> endpoint,
MultivaluedMap httpHeaders,
JavaType resultType, ObjectReader r, JsonParser p)
throws IOException;
}