- code
- the HTTP status code.
Type Reason Java.Lang.IllegalStateException if the status line has not be set
Updates the status line of this response with a new status code.
The status line can only be updated if it is available. It must
have been set either explicitly or in a constructor.
The reason phrase will be updated according to the new status code,
based on the current IHttpResponse.Locale. It can be set
explicitly using IHttpResponse.SetReasonPhrase(string).