Package com.google.cloud.tools.jib.http
Class ResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.google.cloud.tools.jib.http.ResponseException
-
- All Implemented Interfaces:
java.io.Serializable
public class ResponseException extends java.io.IOException
Holds an HTTP response exception.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContent()
com.google.api.client.http.HttpHeaders
getHeaders()
int
getStatusCode()
boolean
requestAuthorizationCleared()
Returns whether theAuthorization
HTTP header was cleared (and thus not sent).
-
-
-
Method Detail
-
getStatusCode
public int getStatusCode()
-
getContent
public java.lang.String getContent()
-
getHeaders
public com.google.api.client.http.HttpHeaders getHeaders()
-
requestAuthorizationCleared
public boolean requestAuthorizationCleared()
Returns whether theAuthorization
HTTP header was cleared (and thus not sent).- Returns:
- whether the
Authorization
HTTP header was cleared
-
-