@Target(value=FIELD) @Retention(value=RUNTIME) @Documented public @interface ExplicitProjectionFieldConfiguration
ProjectionFactory
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends com.fasterxml.jackson.databind.JsonDeserializer> |
contentUsingDeserializer
Exposes the JsonDeserialize annotation on the field in the projection with the
contentUsing parameter. |
Class<? extends com.fasterxml.jackson.databind.JsonSerializer> |
contentUsingSerializer
Exposes the JsonSerialize annotation on the field in the projection with the
contentUsing parameter. |
boolean |
ignore
Whether or not to include a field from a domain class into the projection
|
Class<? extends com.fasterxml.jackson.databind.KeyDeserializer> |
keyUsingDeserializer
Exposes the JsonDeserialize annotation on the field in the projection with the
keyUsing parameter. |
Class<? extends com.fasterxml.jackson.databind.JsonSerializer> |
keyUsingSerializer
Exposes the JsonSerialize annotation on the field in the projection with the
keyUsing
parameter. |
boolean |
requestOnly
Whether or not this field should be marked as part of the request only.
|
boolean |
responseOnly
Whether or not this field should be marked as part of the response only.
|
Class<? extends com.fasterxml.jackson.databind.JsonDeserializer> |
usingDeserializer
Exposes the JsonDeserialize annotation on the field in the projection with the
using
parameter. |
Class<? extends com.fasterxml.jackson.databind.JsonSerializer> |
usingSerializer
Exposes the JsonSerialize annotation on the field in the projection with the
using
parameter. |
public abstract boolean ignore
public abstract boolean requestOnly
JsonView
annotation targeting the RequestView
class. These fields
will not be included in JSON exiting the endpoint call.public abstract boolean responseOnly
JsonView
annotation targeting the ResponseView
class. These fields
will not be mapped into the incoming projection, but will be exposed on the JSON exiting the
endpoint call.public abstract Class<? extends com.fasterxml.jackson.databind.JsonSerializer> usingSerializer
using
parameter.JsonSerialize.using()
public abstract Class<? extends com.fasterxml.jackson.databind.JsonSerializer> contentUsingSerializer
contentUsing
parameter.JsonSerialize.contentUsing()
public abstract Class<? extends com.fasterxml.jackson.databind.JsonSerializer> keyUsingSerializer
keyUsing
parameter.JsonSerialize.keyUsing()
public abstract Class<? extends com.fasterxml.jackson.databind.JsonDeserializer> usingDeserializer
using
parameter.JsonDeserialize.using()
public abstract Class<? extends com.fasterxml.jackson.databind.JsonDeserializer> contentUsingDeserializer
contentUsing
parameter.JsonDeserialize.contentUsing()
public abstract Class<? extends com.fasterxml.jackson.databind.KeyDeserializer> keyUsingDeserializer
keyUsing
parameter.JsonDeserialize.keyUsing()
Copyright © 2021. All rights reserved.