@Retention(value=RUNTIME) @Target(value=METHOD) public @interface ResponseStatus
Mark a certain class so when the implementation framework encountered a return result of the class, it will automatically set the response status
int
value
public abstract int value
Specify the response status code
H.Status
Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.