public class HttpProxyResponse extends Object
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 getHttpVersion()
public final int getStatusCode()
public final String getStatusLine()
public String getBody()
public void setBody(String body)
Copyright © 2004–2014 Apache MINA Project. All rights reserved.