Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public interface HttpStatusCode
Known subtypesHttpStatus
A response status: an
HttpStatus for the common ones, or any other code.Methods
Method details
value
public abstract int value()The numeric code.
is1xxInformational
public abstract boolean is1xxInformational()is2xxSuccessful
public abstract boolean is2xxSuccessful()is3xxRedirection
public abstract boolean is3xxRedirection()is4xxClientError
public abstract boolean is4xxClientError()is5xxServerError
public abstract boolean is5xxServerError()isError
public abstract boolean isError()A 4xx or a 5xx.