public interface ParameterInfoProvider
ParameterInfoProvider
provides the ParameterInfo
for a RequestContext
if not provided explicitly.
By default, the runtime retrieves the data from the current HTTP request.Modifier and Type | Method and Description |
---|---|
ParameterInfo |
get()
Provides the
ParameterInfo . |
default void |
setPrevious(ParameterInfoProvider previous)
Passes the latest configured
ParameterInfoProvider during configuration phase when this instances gets registered. |
ParameterInfo get()
ParameterInfo
.ParameterInfo
if available, null
otherwise.default void setPrevious(ParameterInfoProvider previous)
ParameterInfoProvider
during configuration phase when this instances gets registered.
The previous provider can be used to build an adapted provider on top.previous
- The previously registered provider.Copyright © 2021. All rights reserved.