Class RepresentationModelProcessorInvoker.CollectionModelProcessorWrapper
java.lang.Object
org.springframework.hateoas.server.mvc.RepresentationModelProcessorInvoker.CollectionModelProcessorWrapper
- All Implemented Interfaces:
Ordered
- Enclosing class:
- RepresentationModelProcessorInvoker
public static class RepresentationModelProcessorInvoker.CollectionModelProcessorWrapper
extends Object
RepresentationModelProcessorInvoker.ProcessorWrapper
for RepresentationModelProcessor
s targeting CollectionModel
. Will peek
into the content of the CollectionModel
for type matching decisions if needed.- Author:
- Oliver Gierke
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionCollectionModelProcessorWrapper
(RepresentationModelProcessor<?> processor) Creates a newRepresentationModelProcessorInvoker.CollectionModelProcessorWrapper
for the givenRepresentationModelProcessor
. -
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
Returns the target type the underlyingRepresentationModelProcessor
wants to get invoked for.invokeProcessor
(Object object) boolean
supports
(ResolvableType type, Object value)
-
Constructor Details
-
CollectionModelProcessorWrapper
Creates a newRepresentationModelProcessorInvoker.CollectionModelProcessorWrapper
for the givenRepresentationModelProcessor
.- Parameters:
processor
- must not be null.
-
-
Method Details
-
supports
-
invokeProcessor
-
getOrder
public int getOrder() -
getTargetType
Returns the target type the underlyingRepresentationModelProcessor
wants to get invoked for.- Returns:
- the targetType
-