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 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()org.springframework.core.ResolvableTypeReturns the target type the underlyingRepresentationModelProcessorwants to get invoked for.invokeProcessor(Object object) boolean
-
Constructor Details
-
CollectionModelProcessorWrapper
Creates a newRepresentationModelProcessorInvoker.CollectionModelProcessorWrapperfor the givenRepresentationModelProcessor.- Parameters:
processor- must not be null.
-
-
Method Details
-
supports
-
invokeProcessor
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
getTargetType
public org.springframework.core.ResolvableType getTargetType()Returns the target type the underlyingRepresentationModelProcessorwants to get invoked for.- Returns:
- the targetType
-