| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public Locale | |
| public String | Returns: the reason phrase.Obtains the reason phrase of this response if available. |
| public void | |
| public void | |
| public void | setReasonPhrase(String
the new reason phrase as a single-line string, or
reason)null to unset the reason phraseUpdates the status line of this response with a new reason phrase. |
| getCode | back to summary |
|---|---|
| public int getCode() Obtains the code of this response message.
| |
| getLocale | back to summary |
|---|---|
| public Locale getLocale() Obtains the locale of this response.
The locale is used to determine the reason phrase
for the
| |
| getReasonPhrase | back to summary |
|---|---|
| public String getReasonPhrase() Obtains the reason phrase of this response if available.
| |
| setCode | back to summary |
|---|---|
| public void setCode(int code) Updates status code of this response message.
| |
| setLocale | back to summary |
|---|---|
| public void setLocale(Locale loc) Changes the locale of this response.
| |
| setReasonPhrase | back to summary |
|---|---|
| public void setReasonPhrase(String reason) Updates the status line of this response with a new reason phrase.
| |