All Known Implementing Classes:
AsyncReturnTypeScanner, CacheControlScanner, ResponseHeaderMethodScanner, ResponseStatusMethodScanner

public interface MethodScanner
SPI that allows external integrations to handle custom parameters.
  • Method Summary

    Modifier and Type
    Method
    Description
    handleCustomParameter(org.jboss.jandex.Type paramType, Map<org.jboss.jandex.DotName,org.jboss.jandex.AnnotationInstance> annotations, boolean field, Map<String,Object> methodContext)
    Method that is called when a parameter of an unknown type is discovered.
    default boolean
    isMethodSignatureAsync(org.jboss.jandex.MethodInfo info)
     
    scan(org.jboss.jandex.MethodInfo method, org.jboss.jandex.ClassInfo actualEndpointClass, Map<String,Object> methodContext)
    Method that allows for customising an endpoints handler chain
  • Method Details

    • scan

      default List<HandlerChainCustomizer> scan(org.jboss.jandex.MethodInfo method, org.jboss.jandex.ClassInfo actualEndpointClass, Map<String,Object> methodContext)
      Method that allows for customising an endpoints handler chain
      Parameters:
      method - The method
      actualEndpointClass -
      methodContext - Any context discovered by handleCustomParameter(Type, Map, boolean, Map)
      Returns:
    • handleCustomParameter

      default ParameterExtractor handleCustomParameter(org.jboss.jandex.Type paramType, Map<org.jboss.jandex.DotName,org.jboss.jandex.AnnotationInstance> annotations, boolean field, Map<String,Object> methodContext)
      Method that is called when a parameter of an unknown type is discovered.
      Parameters:
      paramType - The parameter type
      annotations - The annotations
      field - If this is field injection
      methodContext - Context that can be used to pass information into scan(MethodInfo, ClassInfo, Map)
      Returns:
    • isMethodSignatureAsync

      default boolean isMethodSignatureAsync(org.jboss.jandex.MethodInfo info)