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

athenz.shade.zts.org.glassfish.jersey.jackson.internal.jackson.jaxrs.cfg.ObjectReaderModifier Maven / Gradle / Ivy

package athenz.shade.zts.athenz.shade.zts.org.glassfish.jersey.jackson.internal.jackson.jaxrs.cfg;

import java.io.IOException;

import athenz.shade.zts.athenz.shade.zts.javax.ws.rs.core.MultivaluedMap;

import athenz.shade.zts.athenz.shade.zts.com.fasterxml.jackson.core.JsonParser;
import athenz.shade.zts.athenz.shade.zts.com.fasterxml.jackson.databind.JavaType;
import athenz.shade.zts.athenz.shade.zts.com.fasterxml.jackson.databind.ObjectReader;

/**
 * @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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy