org.apache.http.impl.auth

## Class HttpAuthenticator

- java.lang.Object
- - org.apache.http.impl.auth.HttpAuthenticator

- 已知直接子类：
    HttpAuthenticator

      public class HttpAuthenticator
      extends Object

  从以下版本开始：
    4.3

- - ### 构造方法摘要

    构造方法
    Constructor and Description
    `HttpAuthenticator()`
    `HttpAuthenticator(org.apache.commons.logging.Log log)`

  - ### 方法摘要

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `generateAuthResponse(HttpRequest request, AuthState authState, HttpContext context)`
    `boolean` | `handleAuthChallenge(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context)`
    `boolean` | `isAuthenticationRequested(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造方法详细信息

    - #### HttpAuthenticator

          public HttpAuthenticator(org.apache.commons.logging.Log log)

    - #### HttpAuthenticator

          public HttpAuthenticator()

  - ### 方法详细信息

    - #### isAuthenticationRequested

          public boolean isAuthenticationRequested(HttpHost host,
                                          HttpResponse response,
                                          AuthenticationStrategy authStrategy,
                                          AuthState authState,
                                          HttpContext context)

    - #### handleAuthChallenge

          public boolean handleAuthChallenge(HttpHost host,
                                    HttpResponse response,
                                    AuthenticationStrategy authStrategy,
                                    AuthState authState,
                                    HttpContext context)

    - #### generateAuthResponse

          public void generateAuthResponse(HttpRequest request,
                                  AuthState authState,
                                  HttpContext context)
                                    throws HttpException,
                                           IOException

      异常
        `HttpException`
        `IOException`

Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.

本帮助文档是使用 《谷歌翻译》翻译，请与英文版配合使用 by--QQ:654638585