public class HttpProxyResponse extends Object
Modifier and Type | Field and Description |
---|---|
String |
body
The HTTP response body.
|
Map<String,List<String>> |
headers
The HTTP response headers.
|
String |
httpVersion
The HTTP response protocol version.
|
int |
statusCode
The HTTP response status code;
|
String |
statusLine
The HTTP response status line.
|
Modifier | Constructor and Description |
---|---|
protected |
HttpProxyResponse(String httpVersion,
String statusLine,
Map<String,List<String>> headers)
Constructor of an HTTP proxy response.
|
Modifier and Type | Method and Description |
---|---|
String |
getBody()
Returns the HTTP response body.
|
Map<String,List<String>> |
getHeaders()
Returns the HTTP response headers.
|
String |
getHttpVersion()
Returns the HTTP response protocol version.
|
int |
getStatusCode()
Returns the HTTP response status code.
|
String |
getStatusLine()
Returns the HTTP response status line.
|
void |
setBody(String body)
Sets the HTTP response body.
|
public final String httpVersion
public final String statusLine
public final int statusCode
public String body
public final String getHttpVersion()
public final int getStatusCode()
public final String getStatusLine()
public String getBody()
public void setBody(String body)
Copyright © 2004–2013 Apache MINA Project. All rights reserved.