@FunctionalInterface public interface OperationParameterMapper
OperationParameterMapper
is used to map parameters to the required type when
invoking an endpoint.Modifier and Type | Method and Description |
---|---|
<T> T |
mapParameter(Object input,
Class<T> parameterType)
Map the specified
input parameter to the given parameterType . |
<T> T mapParameter(Object input, Class<T> parameterType)
input
parameter to the given parameterType
.T
- the actual type of the parameterinput
- a parameter valueparameterType
- the required type of the parameterParameterMappingException
- when a mapping failure occursCopyright © 2017 Pivotal Software, Inc.. All rights reserved.