top.jfunc.http.annotation.PUT Maven / Gradle / Ivy
package top.jfunc.http.annotation;
import top.jfunc.http.config.Config;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/** Make a PUT request. */
@Documented
@Target(METHOD)
@Retention(RUNTIME)
public @interface PUT {
/**
* A relative or absolute path, or full URL of the endpoint. This value is optional if the first
* parameter of the method is annotated with {@link Url @Url}.
*
* See {@linkplain Config base URL} for details of how
* this is resolved against a base URL to create the full endpoint URL.
*/
String value() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy