@Retention(value=CLASS) @Target(value=PARAMETER) public @interface Part
Post, Put
or Patch. To use this annotation, you must add
FormHttpMessageConverter to the list of converters.
Example :
@Rest(rootUrl = "http://myserver", converters = FormHttpMessageConverter.class)
public interface RestClient {
@Post("/events/{id}")
EventList addEvent(String id, @Part FileResource image);
}
public abstract String value
Copyright © 2010–2020 simpligility technologies inc.. All rights reserved.