|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.proxy.handlers.http.HttpProxyResponse
public class HttpProxyResponse
HttpProxyResponse.java - Wrapper class for HTTP requests.
Field Summary | |
---|---|
String |
body
|
Map<String,List<String>> |
headers
|
String |
httpVersion
|
int |
statusCode
|
String |
statusLine
|
Constructor Summary | |
---|---|
protected |
HttpProxyResponse(String httpVersion,
String statusLine,
Map<String,List<String>> headers)
|
Method Summary | |
---|---|
String |
getBody()
The HTTP entity body. |
Map<String,List<String>> |
getHeaders()
HTTP headers. |
String |
getHttpVersion()
The HTTP version. |
int |
getStatusCode()
The HTTP status code. |
String |
getStatusLine()
The HTTP status line. |
void |
setBody(String body)
Sets the HTTP entity body. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final String httpVersion
public final String statusLine
public final int statusCode
public final Map<String,List<String>> headers
public String body
Constructor Detail |
---|
protected HttpProxyResponse(String httpVersion, String statusLine, Map<String,List<String>> headers)
Method Detail |
---|
public final String getHttpVersion()
public final int getStatusCode()
public final String getStatusLine()
public String getBody()
public void setBody(String body)
public final Map<String,List<String>> getHeaders()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |