org.apache.http.HttpResponseFactory |
Known Indirect Subclasses |
A factory for HttpResponse
objects.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new response from status line elements.
| |||||||||||
Creates a new response from a status line.
|
Creates a new response from status line elements.
ver | the protocol version |
---|---|
status | the status code |
context | the context from which to determine the locale
for looking up a reason phrase to the status code, or
null to use the default locale |
Creates a new response from a status line.
statusline | the status line |
---|---|
context | the context from which to determine the locale
for looking up a reason phrase if the status code
is updated, or
null to use the default locale |