public interface HttpResponseFactory<T extends HttpResponse>
HttpResponse objects.| Modifier and Type | Method and Description | 
|---|---|
| T | newHttpResponse(int status)Creates a new response with the given code. | 
| T | newHttpResponse(int status,
               String reasonPhrase)Creates response message with the given code and reason phrase. | 
T newHttpResponse(int status, String reasonPhrase)
status - the status codereasonPhrase - the reason phraseT newHttpResponse(int status)
status - the status codeCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.