
org.testifyproject.fasterxml.jackson.jaxrs.cfg.ObjectWriterModifier Maven / Gradle / Ivy
package org.testifyproject.testifyproject.fasterxml.jackson.jaxrs.cfg;
import java.org.testifyproject.testifyproject.IOException;
import javax.ws.rs.core.MultivaluedMap;
import org.testifyproject.testifyproject.fasterxml.jackson.core.*;
import org.testifyproject.testifyproject.fasterxml.jackson.databind.*;
/**
* @since 2.3
*/
public abstract class ObjectWriterModifier
{
/**
* Method called to let modifier make any changes it wants to to objects
* used for writing response for specified endpoint.
*
* @param responseHeaders HTTP headers being returned with response (mutable)
*/
public abstract ObjectWriter modify(EndpointConfigBase> endpoint,
MultivaluedMap responseHeaders,
Object valueToWrite, ObjectWriter w, JsonGenerator g)
throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy