added response translation capability
This commit is contained in:
parent
e089e5237d
commit
9436838034
@ -0,0 +1,18 @@
|
|||||||
|
package com.poststats.rs.api.annotation;
|
||||||
|
|
||||||
|
import java.lang.annotation.Documented;
|
||||||
|
import java.lang.annotation.ElementType;
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
@Target(ElementType.METHOD)
|
||||||
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
@Documented
|
||||||
|
public @interface TranslateResponseStatus {
|
||||||
|
|
||||||
|
int[] fromValue();
|
||||||
|
|
||||||
|
int value();
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user