public class BacklogHttpResponseImpl extends java.lang.Object implements BacklogHttpResponse
Modifier and Type | Field and Description |
---|---|
protected java.io.InputStream |
inputStream |
protected java.lang.String |
rateLimitReset |
protected java.util.Date |
rateLimitResetDate |
protected java.lang.String |
responseAsString |
protected int |
statusCode |
protected java.net.HttpURLConnection |
urlConnection |
Constructor and Description |
---|
BacklogHttpResponseImpl(java.net.HttpURLConnection urlConnection) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
asInputStream() |
java.lang.String |
asString() |
java.lang.String |
getFileNameFromContentDisposition() |
java.lang.String |
getRateLimitReset() |
java.util.Date |
getRateLimitResetDate() |
int |
getStatusCode() |
protected java.net.HttpURLConnection urlConnection
protected java.io.InputStream inputStream
protected int statusCode
protected java.lang.String responseAsString
protected java.util.Date rateLimitResetDate
protected java.lang.String rateLimitReset
public BacklogHttpResponseImpl(java.net.HttpURLConnection urlConnection)
public java.lang.String getRateLimitReset()
getRateLimitReset
in interface BacklogHttpResponse
public java.util.Date getRateLimitResetDate()
getRateLimitResetDate
in interface BacklogHttpResponse
public int getStatusCode()
getStatusCode
in interface BacklogHttpResponse
public java.io.InputStream asInputStream()
asInputStream
in interface BacklogHttpResponse
public java.lang.String asString()
asString
in interface BacklogHttpResponse
public java.lang.String getFileNameFromContentDisposition()
getFileNameFromContentDisposition
in interface BacklogHttpResponse