public static class RepresentationModelProcessorInvoker.CollectionModelProcessorWrapper extends Object
ProcessorWrapper for RepresentationModelProcessors targeting CollectionModel. Will peek
into the content of the CollectionModel for type matching decisions if needed.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
CollectionModelProcessorWrapper(RepresentationModelProcessor<?> processor)
Creates a new
RepresentationModelProcessorInvoker.CollectionModelProcessorWrapper for the given RepresentationModelProcessor. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
supports(ResolvableType type,
Object value)
Returns whether the underlying processor supports the given
ResolvableType. |
public CollectionModelProcessorWrapper(RepresentationModelProcessor<?> processor)
RepresentationModelProcessorInvoker.CollectionModelProcessorWrapper for the given RepresentationModelProcessor.processor - must not be null.public boolean supports(ResolvableType type, Object value)
ResolvableType. It might also additionally
inspect the object that would eventually be handed to the processor.type - the type of object to be post processed, will never be null.value - the object that would be passed into the processor eventually, can be null.Copyright © 2011–2021 Pivotal, Inc.. All rights reserved.