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() |
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 void setBody(String body)
body
- The HTTP Bodypublic final Map<String,List<String>> getHeaders()
Copyright © 2004–2016 Apache MINA Project. All rights reserved.