类 Challenge

java.lang.Object
com.lark.oapi.okhttp.Challenge

public final class Challenge extends Object
An RFC 7235 challenge.
  • 构造器详细资料

  • 方法详细资料

    • withCharset

      public Challenge withCharset(Charset charset)
      Returns a copy of this charset that expects a credential encoded with charset.
    • scheme

      public String scheme()
      Returns the authentication scheme, like Basic.
    • authParams

      public Map<String,String> authParams()
      Returns the auth params, including realm and charset if present, but as strings. The map's keys are lowercase and should be treated case-insensitively.
    • realm

      public String realm()
      Returns the protection space.
    • charset

      public Charset charset()
      Returns the charset that should be used to encode the credentials.
    • equals

      public boolean equals(@Nullable Object other)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object