public abstract class ObjectWriterModifier extends Object
Constructor and Description |
---|
ObjectWriterModifier() |
Modifier and Type | Method and Description |
---|---|
abstract ObjectWriter |
modify(EndpointConfigBase<?> endpoint,
MultivaluedMap<String,Object> responseHeaders,
Object valueToWrite,
ObjectWriter w,
JsonGenerator g)
Method called to let modifier make any changes it wants to to objects
used for writing response for specified endpoint.
|
public abstract ObjectWriter modify(EndpointConfigBase<?> endpoint, MultivaluedMap<String,Object> responseHeaders, Object valueToWrite, ObjectWriter w, JsonGenerator g) throws IOException
responseHeaders
- HTTP headers being returned with response (mutable)IOException
Copyright © 2016 JBoss by Red Hat. All rights reserved.