Class RepresentationModelProcessorInvoker.CollectionModelProcessorWrapper
java.lang.Object
org.springframework.hateoas.server.mvc.RepresentationModelProcessorInvoker.CollectionModelProcessorWrapper
- All Implemented Interfaces:
org.springframework.core.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
ConstructorsConstructorDescriptionCollectionModelProcessorWrapper
(RepresentationModelProcessor<?> processor) Creates a newRepresentationModelProcessorInvoker.CollectionModelProcessorWrapper
for the givenRepresentationModelProcessor
. -
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
org.springframework.core.ResolvableType
Returns the target type the underlyingRepresentationModelProcessor
wants to get invoked for.invokeProcessor
(Object object) boolean
-
Constructor Details
-
CollectionModelProcessorWrapper
Creates a newRepresentationModelProcessorInvoker.CollectionModelProcessorWrapper
for the givenRepresentationModelProcessor
.- Parameters:
processor
- must not be null.
-
-
Method Details
-
supports
-
invokeProcessor
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
getTargetType
public org.springframework.core.ResolvableType getTargetType()Returns the target type the underlyingRepresentationModelProcessor
wants to get invoked for.- Returns:
- the targetType
-