ResponseImpl class

Syntax

public class ResponseImpl extends BasicHttpResponse, IResponse

Members

All members of ResponseImpl, including inherited members.

Variables
Modifier and Type Variable Description
HashMap< IRequest, HttpResponse > batchResponseMap  
ArrayList< HttpResponse > batchResponses  
Constructors
Modifier and Type Constructor Description
public ResponseImpl(BasicStatusLine)  
Methods
Modifier and Type Method Description
protected void addBatchResponse(IRequest, HttpResponse)  
public ArrayList< HttpResponse > getBatchResponse() Returns the list of responses from batch response.
public HashMap< IRequest, HttpResponse > getBatchResponseMap() Returns the mapping of requests with corresponding responses within a batch response.
public Map< String, String > getHeadersMap() Returns all the response headers as a HashMap containing header name and header value.