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
/** * @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.
Params:
  • responseHeaders – HTTP headers being returned with response (mutable)
/** * 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<String,Object> responseHeaders, Object valueToWrite, ObjectWriter w, JsonGenerator g) throws IOException; }