Package com.sap.cds.services.runtime
Interface ParameterInfoProvider
public interface ParameterInfoProvider
A
ParameterInfoProvider
provides the ParameterInfo
for a RequestContext
if not provided explicitly.
By default, the runtime retrieves the data from the current HTTP request.-
Method Summary
Modifier and TypeMethodDescriptionget()
Provides theParameterInfo
.default void
setPrevious
(ParameterInfoProvider previous) Passes the latest configuredParameterInfoProvider
during configuration phase when this instances gets registered.
-
Method Details
-
get
ParameterInfo get()Provides theParameterInfo
.- Returns:
- the
ParameterInfo
if available,null
otherwise.
-
setPrevious
Passes the latest configuredParameterInfoProvider
during configuration phase when this instances gets registered. The previous provider can be used to build an adapted provider on top.- Parameters:
previous
- The previously registered provider.
-