T - The type of the parameterized class whose objects will be returned in responses.
The purpose of this interface is to enable capturing and passing a generic type.public interface Parametrization<T>
| Modifier and Type | Method and Description |
|---|---|
default org.springframework.core.ParameterizedTypeReference<SubjectAreaOMASAPIResponse<T>> |
getParametrizedType()
Default method for return
ParameterizedTypeReference |
Class<T> |
type() |
default org.springframework.core.ParameterizedTypeReference<SubjectAreaOMASAPIResponse<T>> getParametrizedType()
ParameterizedTypeReferenceSubjectAreaOMASAPIResponse
with the necessary universal type to use universal queries in RestTemplate used in SpringRESTClientConnector.Copyright © 2018–2020 ODPi. All rights reserved.