uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

StatusCode(int statusCode) method

Description

This method converts the status codes expressed in numbers into the corresponding ClientResponse.Status object.

Syntax

public static ClientResponse.Status fromStatusCode(int statusCode)

Parameter

statusCode
This is the status code expressed with a numeric value.

Return value

The method returns a ClientResponse.Status object corresponding to the status code and returns null if the corresponding object does not exist.

Notes

None.