HttpResponse objects.
| Modifier and Type | Method and Description |
|---|---|
| public HttpResponse | Returns: the new response with an initialized status linethe protocol version ver, int the status code status, HttpContext the context from which to determine the locale
for looking up a reason phrase to the status code, or
context)null to use the default localeCreates a new response from status line elements. |
| public HttpResponse | Returns: the new response with the argument status linethe status line statusline, HttpContext the context from which to determine the locale
for looking up a reason phrase if the status code
is updated, or
context)null to use the default localeCreates a new response from a status line. |
| newHttpResponse | back to summary |
|---|---|
| public HttpResponse newHttpResponse(ProtocolVersion ver, int status, HttpContext context) Creates a new response from status line elements.
| |
| newHttpResponse | back to summary |
|---|---|
| public HttpResponse newHttpResponse(StatusLine statusline, HttpContext context) Creates a new response from a status line.
| |