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