org.apache.http.client.protocol
Class RequestExpectContinue

java.lang.Object
  extended by org.apache.http.client.protocol.RequestExpectContinue
All Implemented Interfaces:
HttpRequestInterceptor

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

RequestExpectContinue is responsible for enabling the 'expect-continue' handshake by adding Expect header.

This interceptor takes into account RequestConfig.isExpectContinueEnabled() setting.

Since:
4.3

Constructor Summary
RequestExpectContinue()
           
 
Method Summary
 void process(HttpRequest request, HttpContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestExpectContinue

public RequestExpectContinue()
Method Detail

process

public void process(HttpRequest request,
                    HttpContext context)
             throws HttpException,
                    IOException
Specified by:
process in interface HttpRequestInterceptor
Throws:
HttpException
IOException


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