twitter4j.media
Class TwitpicUpload

java.lang.Object
  extended by twitter4j.media.AbstractImageUploadImpl
      extended by twitter4j.media.TwitpicUpload
All Implemented Interfaces:
ImageUpload

 class TwitpicUpload
extends AbstractImageUploadImpl

Since:
Twitter4J 2.1.8
Author:
Rémy Rakic - remy.rakic at gmail.com, Takao Nakaguchi - takao.nakaguchi at gmail.com, withgod - noname at withgod.jp

Field Summary
 
Fields inherited from class twitter4j.media.AbstractImageUploadImpl
apiKey, appendParameter, conf, headers, httpResponse, image, logger, message, oauth, postParameter, TWITTER_VERIFY_CREDENTIALS_JSON, TWITTER_VERIFY_CREDENTIALS_XML, uploadUrl
 
Constructor Summary
TwitpicUpload(Configuration conf, java.lang.String apiKey, OAuthAuthorization oauth)
           
 
Method Summary
protected  java.lang.String postUpload()
           
protected  void preUpload()
           
 
Methods inherited from class twitter4j.media.AbstractImageUploadImpl
appendHttpParameters, generateVerifyCredentialsAuthorizationHeader, generateVerifyCredentialsAuthorizationURL, upload, upload, upload, upload, upload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwitpicUpload

public TwitpicUpload(Configuration conf,
                     java.lang.String apiKey,
                     OAuthAuthorization oauth)
Method Detail

postUpload

protected java.lang.String postUpload()
                               throws TwitterException
Specified by:
postUpload in class AbstractImageUploadImpl
Throws:
TwitterException

preUpload

protected void preUpload()
                  throws TwitterException
Specified by:
preUpload in class AbstractImageUploadImpl
Throws:
TwitterException