类 ProducibleOperationArgumentResolver

java.lang.Object
org.springframework.boot.actuate.endpoint.ProducibleOperationArgumentResolver
所有已实现的接口:
OperationArgumentResolver

public class ProducibleOperationArgumentResolver extends Object implements OperationArgumentResolver
从以下版本开始:
2.5.0
作者:
Andy Wilkinson, Phillip Webb
  • 构造器详细资料

  • 方法详细资料

    • canResolve

      public boolean canResolve(Class<?> type)
      从接口复制的说明: OperationArgumentResolver
      Return whether an argument of the given type can be resolved.
      指定者:
      canResolve 在接口中 OperationArgumentResolver
      参数:
      type - argument type
      返回:
      true if an argument of the required type can be resolved, otherwise false
    • resolve

      public <T> T resolve(Class<T> type)
      从接口复制的说明: OperationArgumentResolver
      Resolves an argument of the given type.
      指定者:
      resolve 在接口中 OperationArgumentResolver
      类型参数:
      T - required type of the argument
      参数:
      type - argument type
      返回:
      an argument of the required type, or null