@Documented
@Target(value=PARAMETER)
@Retention(value=RUNTIME)
public @interface Body
TypedOutput
,
the request body will be written exactly as specified by
TypedOutput.writeTo(java.io.OutputStream)
. If the value does not implement
TypedOutput, the object will be serialized using the RestAdapter
's
Converter
and the result will be set directly as the
request body.
Body parameters may not be null
.
Copyright © 2014 Square, Inc.. All Rights Reserved.