railo.commons.net.http.httpclient3
Class HTTPResponse3Impl

java.lang.Object
  extended by railo.commons.net.http.HTTPResponseSupport
      extended by railo.commons.net.http.httpclient3.HTTPResponse3Impl
All Implemented Interfaces:
HTTPResponse

public class HTTPResponse3Impl
extends HTTPResponseSupport


Constructor Summary
HTTPResponse3Impl(org.apache.commons.httpclient.HttpMethod rsp, URL url)
           
 
Method Summary
 Header[] getAllHeaders()
           
 byte[] getContentAsByteArray()
           
 InputStream getContentAsStream()
           
 String getContentAsString()
           
 String getContentAsString(String charset)
           
 Header getLastHeader(String name)
           
 Header getLastHeaderIgnoreCase(String name)
           
 String getProtocolVersion()
           
 int getStatusCode()
           
 String getStatusLine()
           
 String getStatusText()
           
 URL getURL()
           
 
Methods inherited from class railo.commons.net.http.HTTPResponseSupport
getCharset, getContentLength, getContentType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPResponse3Impl

public HTTPResponse3Impl(org.apache.commons.httpclient.HttpMethod rsp,
                         URL url)
Method Detail

getContentAsString

public String getContentAsString()
                          throws IOException
Throws:
IOException

getContentAsString

public String getContentAsString(String charset)
                          throws IOException
Throws:
IOException

getContentAsStream

public InputStream getContentAsStream()
                               throws IOException
Throws:
IOException

getContentAsByteArray

public byte[] getContentAsByteArray()
                             throws IOException
Throws:
IOException

getLastHeader

public Header getLastHeader(String name)

getLastHeaderIgnoreCase

public Header getLastHeaderIgnoreCase(String name)

getURL

public URL getURL()

getStatusCode

public int getStatusCode()

getStatusText

public String getStatusText()

getProtocolVersion

public String getProtocolVersion()

getStatusLine

public String getStatusLine()

getAllHeaders

public Header[] getAllHeaders()


Copyright © 2012 Railo