|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A factory for HttpResponse
objects.
Method Summary | |
HttpResponse |
newHttpResponse(HttpVersion ver,
int status,
HttpContext context)
Creates a new response from status line elements. |
HttpResponse |
newHttpResponse(StatusLine statusline,
HttpContext context)
Creates a new response from a status line. |
Method Detail |
public HttpResponse newHttpResponse(HttpVersion ver, int status, HttpContext context)
ver
- the HTTP versionstatus
- the status codecontext
- 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
public HttpResponse newHttpResponse(StatusLine statusline, HttpContext context)
statusline
- the status linecontext
- 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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |