@Deprecated public class ResourceProcessorInvoker extends Object
ResourceProcessor instances registered for values of type
ResourceSupport.| Constructor and Description |
|---|
ResourceProcessorInvoker(Collection<org.springframework.hateoas.ResourceProcessor<?>> processors)
Deprecated.
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 org.springframework.hateoas.ResourceSupport> |
invokeProcessorsFor(T value)
Deprecated.
Invokes all
ResourceProcessor instances registered for the type of the given value. |
<T extends org.springframework.hateoas.ResourceSupport> |
invokeProcessorsFor(T value,
ResolvableType referenceType)
Deprecated.
Invokes all
ResourceProcessor instances registered for the type of the given value and reference type. |
public ResourceProcessorInvoker(Collection<org.springframework.hateoas.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 org.springframework.hateoas.ResourceSupport> T invokeProcessorsFor(T value)
ResourceProcessor instances registered for the type of the given value.value - must not be null.public <T extends org.springframework.hateoas.ResourceSupport> T invokeProcessorsFor(T value,
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 © 2011–2018 Pivotal Software, Inc.. All rights reserved.