public class ResourceProcessorInvoker extends Object
ResourceProcessor instances registered for values of type
ResourceSupport.| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceProcessorInvoker.ResourcesProcessorWrapper
|
| Constructor and Description |
|---|
ResourceProcessorInvoker(Collection<ResourceProcessor<?>> processors)
Creates a new
ResourceProcessorInvoker to consider the given ResourceProcessor to post-process the
controller methods return value to before invoking the delegate. |
| Modifier and Type | Method and Description |
|---|---|
<T extends ResourceSupport> |
invokeProcessorsFor(T value)
Invokes all
ResourceProcessor instances registered for the type of the given value. |
<T extends ResourceSupport> |
invokeProcessorsFor(T value,
org.springframework.core.ResolvableType referenceType)
Invokes all
ResourceProcessor instances registered for the type of the given value and reference type. |
public ResourceProcessorInvoker(Collection<ResourceProcessor<?>> processors)
ResourceProcessorInvoker to consider the given ResourceProcessor to post-process the
controller methods return value to before invoking the delegate.processors - the ResourceProcessors to be considered, must not be null.public <T extends ResourceSupport> T invokeProcessorsFor(T value)
ResourceProcessor instances registered for the type of the given value.value - must not be null.public <T extends ResourceSupport> T invokeProcessorsFor(T value, org.springframework.core.ResolvableType referenceType)
ResourceProcessor instances registered for the type of the given value and reference type.value - must not be null.referenceType - must not be null.Copyright © 2012-2016–2017 Pivotal, Inc.. All rights reserved.