Example usage for org.apache.http.client.config RequestConfig isExpectContinueEnabled

List of usage examples for org.apache.http.client.config RequestConfig isExpectContinueEnabled

Introduction

In this page you can find the example usage for org.apache.http.client.config RequestConfig isExpectContinueEnabled.

Prototype

public boolean isExpectContinueEnabled() 

Source Link

Document

Determines whether the 'Expect: 100-Continue' handshake is enabled for entity enclosing methods.

Usage

From source file:com.lehman.ic9.net.httpClient.java

/**
 * Gets a boolean with the flag for allowing the 
 * expect 100-continue handshake is enabled.
 * @return A boolean with enabled equals true.
 *///  w  w w  .j  a  va 2  s.  co  m
public boolean getExpectContinueEnabled() {
    RequestConfig rc = this.rcb.build();
    return rc.isExpectContinueEnabled();
}