class TwitterAPIConfigurationJSONImpl extends TwitterResponseImpl implements TwitterAPIConfiguration
Modifier and Type | Field and Description |
---|---|
private int |
charactersReservedPerMedia |
private int |
maxMediaPerUpload |
private java.lang.String[] |
nonUsernamePaths |
private int |
photoSizeLimit |
private java.util.Map<java.lang.Integer,MediaEntity.Size> |
photoSizes |
private static long |
serialVersionUID |
private int |
shortURLLength |
private int |
shortURLLengthHttps |
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGES
Constructor and Description |
---|
TwitterAPIConfigurationJSONImpl(HttpResponse res,
Configuration conf) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getCharactersReservedPerMedia() |
int |
getMaxMediaPerUpload() |
java.lang.String[] |
getNonUsernamePaths() |
int |
getPhotoSizeLimit() |
java.util.Map<java.lang.Integer,MediaEntity.Size> |
getPhotoSizes() |
int |
getShortURLLength() |
int |
getShortURLLengthHttps() |
int |
hashCode() |
java.lang.String |
toString() |
getAccessLevel, getRateLimitStatus
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAccessLevel, getRateLimitStatus
private static final long serialVersionUID
private int photoSizeLimit
private int shortURLLength
private int shortURLLengthHttps
private int charactersReservedPerMedia
private java.util.Map<java.lang.Integer,MediaEntity.Size> photoSizes
private java.lang.String[] nonUsernamePaths
private int maxMediaPerUpload
TwitterAPIConfigurationJSONImpl(HttpResponse res, Configuration conf) throws TwitterException
TwitterException
public int getPhotoSizeLimit()
getPhotoSizeLimit
in interface TwitterAPIConfiguration
public int getShortURLLength()
getShortURLLength
in interface TwitterAPIConfiguration
public int getShortURLLengthHttps()
getShortURLLengthHttps
in interface TwitterAPIConfiguration
public int getCharactersReservedPerMedia()
getCharactersReservedPerMedia
in interface TwitterAPIConfiguration
public java.util.Map<java.lang.Integer,MediaEntity.Size> getPhotoSizes()
getPhotoSizes
in interface TwitterAPIConfiguration
public java.lang.String[] getNonUsernamePaths()
getNonUsernamePaths
in interface TwitterAPIConfiguration
public int getMaxMediaPerUpload()
getMaxMediaPerUpload
in interface TwitterAPIConfiguration
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object