org.apache.http.impl.client

## Class LaxRedirectStrategy

- java.lang.Object
- - org.apache.http.impl.client.DefaultRedirectStrategy
  - - org.apache.http.impl.client.LaxRedirectStrategy

- All Implemented Interfaces:
    RedirectStrategy

      @Contract(threading=IMMUTABLE)
      public class LaxRedirectStrategy
      extends DefaultRedirectStrategy

  Lax `RedirectStrategy`实现自动重定向所有HEAD，GET，POST和DELETE请求。 这种策略放宽了对HTTP规范强加的POST方法自动重定向的限制。
  从以下版本开始：
    4.2

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static LaxRedirectStrategy` | `INSTANCE`

    - ### Fields inherited from class org.apache.http.impl.client.DefaultRedirectStrategy

      `REDIRECT_LOCATIONS`

  - ### 构造方法摘要

    构造方法
    Constructor and Description
    `LaxRedirectStrategy()`

  - ### 方法摘要

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | `isRedirectable(String method)`

    - ### Methods inherited from class org.apache.http.impl.client.DefaultRedirectStrategy

      `createLocationURI, getLocationURI, getRedirect, isRedirected`

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

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

- - ### 字段详细信息

    - #### INSTANCE

          public static final LaxRedirectStrategy INSTANCE

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

    - #### LaxRedirectStrategy

          public LaxRedirectStrategy()

  - ### 方法详细信息

    - #### isRedirectable

          protected boolean isRedirectable(String method)

      重写：
        `isRedirectable`在 `DefaultRedirectStrategy`

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

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