io.convergence_platform.common.annotations.ConvergenceEndpointInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of service-lib Show documentation
Show all versions of service-lib Show documentation
Holds the common functionality needed by all Convergence Platform-based services written in Java.
The newest version!
package io.convergence_platform.common.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ConvergenceEndpointInfo {
String maxPayloadSize() default "200KB";
String timeout() default "10s";
String[] rateLimitingPolicies() default {};
String maintenanceMode() default "restrict";
String[] accepts() default {"application/json"};
}