public static class RepresentationModelProcessorInvoker.CollectionModelProcessorWrapper extends Object
CollectionModel. Will peek into the content of the
CollectionModelfor type matching decisions if needed.
|Constructor and Description|
Creates a new
|Modifier and Type||Method and Description|
Returns whether the underlying processor supports the given
public CollectionModelProcessorWrapper(RepresentationModelProcessor<?> processor)
RepresentationModelProcessorInvoker.CollectionModelProcessorWrapperfor the given
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.