public class Response extends Object
User: Kirill, Date: 23.08.13 15:20
Modifier and Type | Field and Description |
---|---|
private String |
contentEncoding |
private String |
contentType |
private int |
responseCode |
private InputStream |
stream |
Constructor and Description |
---|
Response(InputStream stream,
int responseCode,
String contentEncoding,
String contentType) |
Modifier and Type | Method and Description |
---|---|
String |
getContentEncoding() |
String |
getContentType() |
int |
getResponseCode() |
InputStream |
getStream() |
byte[] |
toBytes() |
String |
toText() |
private InputStream stream
private int responseCode
private String contentEncoding
private String contentType
public Response(InputStream stream, int responseCode, String contentEncoding, String contentType)
public String toText()
public byte[] toBytes()
public InputStream getStream()
public int getResponseCode()
public String getContentEncoding()
public String getContentType()
Copyright © 2016. All rights reserved.