org.apache.mina.proxy.handlers.http
Class HttpProxyResponse

java.lang.Object
  extended by 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
Version:
$Rev: 685703 $, $Date: 2008-08-14 00:14:47 +0200 (Do, 14 Aug 2008) $
Author:
The Apache MINA Project (dev@mina.apache.org)

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

httpVersion

public final String httpVersion

statusLine

public final String statusLine

statusCode

public final int statusCode

headers

public final Map<String,List<String>> headers

body

public String body
Constructor Detail

HttpProxyResponse

protected HttpProxyResponse(String httpVersion,
                            String statusLine,
                            Map<String,List<String>> headers)
Method Detail

getHttpVersion

public final String getHttpVersion()
The HTTP version.


getStatusCode

public final int getStatusCode()
The HTTP status code.


getStatusLine

public final String getStatusLine()
The HTTP status line.


getBody

public String getBody()
The HTTP entity body.


setBody

public void setBody(String body)
Sets the HTTP entity body.


getHeaders

public final Map<String,List<String>> getHeaders()
HTTP headers.



Copyright © 2004-2009 Apache MINA Project. All Rights Reserved.