パッケージ twitter4j

インタフェース Authorization

すべてのスーパーインタフェース:
Serializable
既知の実装クラスのリスト:
OAuth2Authorization, OAuthAuthorization

public interface Authorization extends Serializable
An interface represents credentials.
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    getAuthorizationHeader(twitter4j.HttpRequest req)
     
    boolean
    Returns true if authorization credentials are set.
  • メソッドの詳細

    • getAuthorizationHeader

      String getAuthorizationHeader(twitter4j.HttpRequest req)
      パラメータ:
      req - request
      戻り値:
      header
    • isEnabled

      boolean isEnabled()
      Returns true if authorization credentials are set.
      戻り値:
      true if authorization credentials are set