public class Response extends Object
Constructor and Description |
---|
Response(int responseCode,
String responseMessage,
Map<String,List<String>> headers,
InputStream responseStream,
InputStream errorStream) |
Modifier and Type | Method and Description |
---|---|
String |
getCharset() |
String |
getContentDisposition() |
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() |
boolean |
hasResponseStream() |
public Response(int responseCode, String responseMessage, Map<String,List<String>> headers, InputStream responseStream, InputStream errorStream)
public int getResponseCode()
public String getResponseMessage()
public String getContentTypeHeader()
public BigInteger getContentLengthHeader()
public String getLocactionHeader()
public String getContentLocactionHeader()
public String getContentTransferEncoding()
public String getContentEncoding()
public String getContentDisposition()
public String getCharset()
public BigInteger getContentLength()
public boolean hasResponseStream()
public InputStream getStream()
public String getErrorContent()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.