Class HttpProxyResponse
- java.lang.Object
-
- org.apache.mina.proxy.handlers.http.HttpProxyResponse
-
public class HttpProxyResponse extends Object
HttpProxyResponse.java - Wrapper class for HTTP requests.- Since:
- MINA 2.0.0-M3
- Author:
- Apache MINA Project
-
-
Method Summary
All Methods Instance Methods Concrete Methods 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.
-
-
-
Method Detail
-
getHttpVersion
public final String getHttpVersion()
- Returns:
- the HTTP response protocol version.
-
getStatusCode
public final int getStatusCode()
- Returns:
- the HTTP response status code.
-
getStatusLine
public final String getStatusLine()
- Returns:
- the HTTP response status line.
-
getBody
public String getBody()
- Returns:
- the HTTP response body.
-
setBody
public void setBody(String body)
Sets the HTTP response body.- Parameters:
body
- The HTTP Body
-
-