Class HttpCredentials

  • Direct Known Subclasses:
    HttpCredentials

    public abstract class HttpCredentials
    extends java.lang.Object
    • Constructor Detail

      • HttpCredentials

        public HttpCredentials()
    • Method Detail

      • scheme

        public abstract java.lang.String scheme()
      • token

        public abstract java.lang.String token()
      • getParams

        public abstract java.util.Map<java.lang.String,​java.lang.String> getParams()
      • create

        public static HttpCredentials create​(java.lang.String scheme,
                                             java.lang.String token)
      • create

        public static HttpCredentials create​(java.lang.String scheme,
                                             java.lang.String token,
                                             java.util.Map<java.lang.String,​java.lang.String> params)
      • createBasicHttpCredentials

        public static BasicHttpCredentials createBasicHttpCredentials​(java.lang.String username,
                                                                      java.lang.String password)
      • createOAuth2BearerToken

        public static OAuth2BearerToken createOAuth2BearerToken​(java.lang.String token)