com.ijson.rest.proxy.annotation.Body Maven / Gradle / Ivy
package com.ijson.rest.proxy.annotation;
import java.lang.annotation.*;
/**
* Data structures are used in Resource to describe data in a parameter list.
* @Body
can only be used with objects later, but not collections such as Map can be used
* Example:
* @POST
(value = "/pay/unifiedorder", desc = "unifiedorder", contentType = "application/json")
* Unifiedorder.Result unifiedorder(@Body Unifiedorder.Arg arg);
* Created by cuiyongxu on 05/01/2017.
*/
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Body {
}