public class ProducibleOperationArgumentResolver extends Object implements OperationArgumentResolver
Constructor and Description |
---|
ProducibleOperationArgumentResolver(Map<String,List<String>> headers) |
Modifier and Type | Method and Description |
---|---|
boolean |
canResolve(Class<?> type)
Return whether an argument of the given
type can be resolved. |
<T> T |
resolve(Class<T> type)
Resolves an argument of the given
type . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
of
public boolean canResolve(Class<?> type)
OperationArgumentResolver
type
can be resolved.canResolve
in interface OperationArgumentResolver
type
- argument typetrue
if an argument of the required type can be resolved, otherwise
false
public <T> T resolve(Class<T> type)
OperationArgumentResolver
type
.resolve
in interface OperationArgumentResolver
T
- required type of the argumenttype
- argument typenull