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 RepresentationModelProcessors 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.CollectionModelProcessorWrapperfor the givenRepresentationModelProcessor. -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()Returns the target type the underlyingRepresentationModelProcessorwants to get invoked for.invokeProcessor(Object object) booleansupports(ResolvableType type, Object value)
-
Constructor Details
-
CollectionModelProcessorWrapper
Creates a newRepresentationModelProcessorInvoker.CollectionModelProcessorWrapperfor the givenRepresentationModelProcessor.- Parameters:
processor- must not be null.
-
-
Method Details
-
supports
-
invokeProcessor
-
getOrder
public int getOrder() -
getTargetType
Returns the target type the underlyingRepresentationModelProcessorwants to get invoked for.- Returns:
- the targetType
-