org.apache.http.client.protocol

## Class RequestExpectContinue

- java.lang.Object
- - org.apache.http.client.protocol.RequestExpectContinue

- All Implemented Interfaces:
    HttpRequestInterceptor

      @Contract(threading=IMMUTABLE)
      public class RequestExpectContinue
      extends Object
      implements HttpRequestInterceptor

  RequestExpectContinue负责通过添加`Expect`头来启用'expect-continue'握手。

  这个拦截器考虑到`RequestConfig.isExpectContinueEnabled()`设置。

  从以下版本开始：
    4.3

- - ### 构造方法摘要

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

  - ### 方法摘要

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `process(HttpRequest request, HttpContext context)`

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

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

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

    - #### RequestExpectContinue

          public RequestExpectContinue()

  - ### 方法详细信息

    - #### process

          public void process(HttpRequest request,
                     HttpContext context)
                       throws HttpException,
                              IOException

      Specified by:
        `process`在接口 `HttpRequestInterceptor`
      异常
        `HttpException`
        `IOException`

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

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