public class UploadArrayBinder extends java.lang.Object implements TypeBinder<Model.BinaryField[]>
| Constructor and Description |
|---|
UploadArrayBinder() |
| Modifier and Type | Method and Description |
|---|---|
Upload[] |
bind(java.lang.String name,
java.lang.annotation.Annotation[] annotations,
java.lang.String value,
java.lang.Class actualClass,
java.lang.reflect.Type genericType)
Called when your parameter needs to be bound.
|
public Upload[] bind(java.lang.String name, java.lang.annotation.Annotation[] annotations, java.lang.String value, java.lang.Class actualClass, java.lang.reflect.Type genericType)
TypeBinderbind in interface TypeBinder<Model.BinaryField[]>name - the name of you parameter ie myparam for a simple param but can also be a complex one : mybean.address.streetannotations - An array of annotation that may be bound to your method parameter or your bean propertyvalue - the actual value as a string that needs to be boundactualClass - The class of the object you want to associate the value withgenericType - The generic type associated with the object you want to bound the value toGuillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly