| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpResponseFactory
A factory for HttpResponse objects.
| Method Summary | |
|---|---|
|  HttpResponse | newHttpResponse(ProtocolVersion 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 | 
|---|
HttpResponse newHttpResponse(ProtocolVersion ver,
                             int status,
                             HttpContext context)
ver - the protocol 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
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 | |||||||||