Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
@Retention(CLASS) @Target({METHOD})
public @interface ResponseStatus
The status this method answers with when it returns normally.
Without it a method that returns a value answers 200, and a void method answers 204.
Methods
public abstract int value() | The HTTP status code. |
Method details
value
public abstract int value()The HTTP status code.