@Target(value={PARAMETER,FIELD}) @Retention(value=RUNTIME) @Documented public @interface Path
Parameter
as a path to a file or directory.
This annotation should only be used with String
parameters.Modifier and Type | Optional Element and Description |
---|---|
String[] |
acceptedFileExtensions |
boolean |
acceptsUrls |
PathModel.Location |
location |
PathModel.Type |
type |
public abstract PathModel.Type type
public abstract boolean acceptsUrls
public abstract PathModel.Location location
PathModel.Location
public abstract String[] acceptedFileExtensions
Copyright © 2018. All rights reserved.