public static class RepresentationModelProcessorInvoker.ResourcesProcessorWrapper extends Object
ProcessorWrapper for RepresentationModelProcessors targeting CollectionModel.
Will peek into the content of the CollectionModel for type matching decisions if needed.| Constructor and Description |
|---|
ResourcesProcessorWrapper(RepresentationModelProcessor<?> processor)
Creates a new
RepresentationModelProcessorInvoker.ResourcesProcessorWrapper for the given RepresentationModelProcessor. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
supports(org.springframework.core.ResolvableType type,
Object value)
Returns whether the underlying processor supports the given
ResolvableType. |
public ResourcesProcessorWrapper(RepresentationModelProcessor<?> processor)
RepresentationModelProcessorInvoker.ResourcesProcessorWrapper for the given RepresentationModelProcessor.processor - must not be null.public boolean supports(org.springframework.core.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 © 2012-2019–2019 Pivotal, Inc.. All rights reserved.