@Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface FormParam
public String formField(@FormParm String name) {
...
}
public String form(@FormParam MyForm form) {
...
}
HTTP request must be encoded as MediaType.FORM_URLENCODED
or
MediaType.MULTIPART_FORMDATA
.public abstract String value
Copyright © 2019. All rights reserved.