public class ResponseData extends Object
Constructor and Description |
---|
ResponseData(int status,
String phrase,
byte[] data)
Constructor capturing the response status and data information
|
ResponseData(int status,
String phrase,
List<org.apache.http.Header> headers,
byte[] data)
Constructor capturing the response status and data information
|
public ResponseData(int status, String phrase, List<org.apache.http.Header> headers, byte[] data)
status
- the status code reported by the requestphrase
- the phrase associated with the status codeheaders
- headers from the responsedata
- the response datapublic ResponseData(int status, String phrase, byte[] data)
status
- the status code reported by the requestphrase
- the phrase associated with the status codedata
- the response datapublic List<org.apache.http.Header> headers()
public int status()
public String statusPhrase()
public byte[] data()
Copyright © 2015. All Rights Reserved.