S
- type Genericpublic interface ArgumentBinderRegistry<S>
ArgumentBinder
instances.Modifier and Type | Method and Description |
---|---|
default <T,ST> void |
addRequestArgumentBinder(ArgumentBinder<T,ST> binder)
Adds a request argument binder to the registry.
|
<T> Optional<ArgumentBinder<T,S>> |
findArgumentBinder(Argument<T> argument,
S source)
Locate an
ArgumentBinder for the given argument and source type. |
default <T,ST> void addRequestArgumentBinder(ArgumentBinder<T,ST> binder)
T
- The argument typeST
- The source typebinder
- The binder<T> Optional<ArgumentBinder<T,S>> findArgumentBinder(Argument<T> argument, S source)
ArgumentBinder
for the given argument and source type.T
- The argument typeargument
- The argumentsource
- The sourceOptional
of ArgumentBinder