Class 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 the Authorization HTTP header was cleared (and thus not sent).
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 the Authorization HTTP header was cleared (and thus not sent).
        Returns:
        whether the Authorization HTTP header was cleared