Class MPRequestOptions


  • public class MPRequestOptions
    extends Object
    MPRequestOptions class.
    • Method Detail

      • createDefault

        public static MPRequestOptions createDefault()
        Create default MPRequestOptions.
        Returns:
        MPRequestOptions
      • getAccessToken

        public String getAccessToken()
      • getConnectionTimeout

        public int getConnectionTimeout()
      • getConnectionRequestTimeout

        public int getConnectionRequestTimeout()
      • getSocketTimeout

        public int getSocketTimeout()
      • setAccessToken

        public void setAccessToken​(String accessToken)
      • setConnectionTimeout

        public void setConnectionTimeout​(int connectionTimeout)
      • setConnectionRequestTimeout

        public void setConnectionRequestTimeout​(int connectionRequestTimeout)
      • setSocketTimeout

        public void setSocketTimeout​(int socketTimeout)
      • setCustomHeaders

        public void setCustomHeaders​(Map<String,​String> customHeaders)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object