Class ParameterInfo

java.lang.Object
ch.ralscha.extdirectspring.util.ParameterInfo

public final class ParameterInfo extends Object
Object holds information about a parameter. i.e. the name, type and the attributes of a RequestParam annotation.
  • Constructor Details

    • ParameterInfo

      public ParameterInfo(Class<?> clazz, Method method, int paramIndex)
  • Method Details

    • getType

      public Class<?> getType()
    • getCollectionType

      public Class<?> getCollectionType()
    • getName

      public String getName()
    • hasRequestParamAnnotation

      public boolean hasRequestParamAnnotation()
    • hasMetadataParamAnnotation

      public boolean hasMetadataParamAnnotation()
    • hasRequestHeaderAnnotation

      public boolean hasRequestHeaderAnnotation()
    • hasCookieValueAnnotation

      public boolean hasCookieValueAnnotation()
    • hasAuthenticationPrincipalAnnotation

      public boolean hasAuthenticationPrincipalAnnotation()
    • authenticationPrincipalAnnotationErrorOnInvalidType

      public boolean authenticationPrincipalAnnotationErrorOnInvalidType()
    • isRequired

      public boolean isRequired()
    • getDefaultValue

      public String getDefaultValue()
    • isSupportedParameter

      public boolean isSupportedParameter()
    • getTypeDescriptor

      public org.springframework.core.convert.TypeDescriptor getTypeDescriptor()
    • isClientParameter

      public boolean isClientParameter()
    • isJavaUtilOptional

      public boolean isJavaUtilOptional()