org.apache.chemistry.opencmis.client.bindings.spi.atompub
Class HttpUtils.Response

java.lang.Object
  extended by org.apache.chemistry.opencmis.client.bindings.spi.atompub.HttpUtils.Response
Enclosing class:
HttpUtils

public static class HttpUtils.Response
extends Object

HTTP Response.


Constructor Summary
HttpUtils.Response(int responseCode, String responseMessage, Map<String,List<String>> headers, InputStream responseStream, InputStream errorStream)
           
 
Method Summary
 String getContentEncoding()
           
 BigInteger getContentLength()
           
 BigInteger getContentLengthHeader()
           
 String getContentLocactionHeader()
           
 String getContentTransferEncoding()
           
 String getContentTypeHeader()
           
 String getErrorContent()
           
 String getHeader(String name)
           
 Map<String,List<String>> getHeaders()
           
 String getLocactionHeader()
           
 int getResponseCode()
           
 String getResponseMessage()
           
 InputStream getStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpUtils.Response

public HttpUtils.Response(int responseCode,
                          String responseMessage,
                          Map<String,List<String>> headers,
                          InputStream responseStream,
                          InputStream errorStream)
Method Detail

getResponseCode

public int getResponseCode()

getResponseMessage

public String getResponseMessage()

getHeaders

public Map<String,List<String>> getHeaders()

getHeader

public String getHeader(String name)

getContentTypeHeader

public String getContentTypeHeader()

getContentLengthHeader

public BigInteger getContentLengthHeader()

getLocactionHeader

public String getLocactionHeader()

getContentLocactionHeader

public String getContentLocactionHeader()

getContentTransferEncoding

public String getContentTransferEncoding()

getContentEncoding

public String getContentEncoding()

getContentLength

public BigInteger getContentLength()

getStream

public InputStream getStream()

getErrorContent

public String getErrorContent()


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.