/** * <p> * Returns <tt>true</tt> if the 'Expect: 100-Continue' handshake * is activated. The purpose of the 'Expect: 100-Continue' * handshake to allow a client that is sending a request message * with a request body to determine if the origin server is * willing to accept the request (based on the request headers) * before the client sends the request body. * </p> * * @return <tt>true</tt> if 'Expect: 100-Continue' handshake is to * be used, <tt>false</tt> otherwise. * * @since 2.0beta1 * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#USE_EXPECT_CONTINUE */ public boolean getUseExpectHeader() { return getParams().getBooleanParameter(HttpMethodParams.USE_EXPECT_CONTINUE, false); }
getParams().setBooleanParameter(HttpMethodParams.USE_EXPECT_CONTINUE, value);
if (getParams().isParameterTrue(HttpMethodParams.USE_EXPECT_CONTINUE) && getEffectiveVersion().greaterEquals(HttpVersion.HTTP_1_1) && hasRequestContent())
/** * <p> * Returns <tt>true</tt> if the 'Expect: 100-Continue' handshake * is activated. The purpose of the 'Expect: 100-Continue' * handshake to allow a client that is sending a request message * with a request body to determine if the origin server is * willing to accept the request (based on the request headers) * before the client sends the request body. * </p> * * @return <tt>true</tt> if 'Expect: 100-Continue' handshake is to * be used, <tt>false</tt> otherwise. * * @since 2.0beta1 * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#USE_EXPECT_CONTINUE */ public boolean getUseExpectHeader() { return getParams().getBooleanParameter(HttpMethodParams.USE_EXPECT_CONTINUE, false); }
/** * <p> * Returns <tt>true</tt> if the 'Expect: 100-Continue' handshake * is activated. The purpose of the 'Expect: 100-Continue' * handshake to allow a client that is sending a request message * with a request body to determine if the origin server is * willing to accept the request (based on the request headers) * before the client sends the request body. * </p> * * @return <tt>true</tt> if 'Expect: 100-Continue' handshake is to * be used, <tt>false</tt> otherwise. * * @since 2.0beta1 * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#USE_EXPECT_CONTINUE */ public boolean getUseExpectHeader() { return getParams().getBooleanParameter(HttpMethodParams.USE_EXPECT_CONTINUE, false); }
/** * <p> * Returns <tt>true</tt> if the 'Expect: 100-Continue' handshake * is activated. The purpose of the 'Expect: 100-Continue' * handshake to allow a client that is sending a request message * with a request body to determine if the origin server is * willing to accept the request (based on the request headers) * before the client sends the request body. * </p> * * @return <tt>true</tt> if 'Expect: 100-Continue' handshake is to * be used, <tt>false</tt> otherwise. * * @since 2.0beta1 * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#USE_EXPECT_CONTINUE */ public boolean getUseExpectHeader() { return getParams().getBooleanParameter(HttpMethodParams.USE_EXPECT_CONTINUE, false); }
/** * <p> * Returns <tt>true</tt> if the 'Expect: 100-Continue' handshake * is activated. The purpose of the 'Expect: 100-Continue' * handshake to allow a client that is sending a request message * with a request body to determine if the origin server is * willing to accept the request (based on the request headers) * before the client sends the request body. * </p> * * @return <tt>true</tt> if 'Expect: 100-Continue' handshake is to * be used, <tt>false</tt> otherwise. * * @since 2.0beta1 * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#USE_EXPECT_CONTINUE */ public boolean getUseExpectHeader() { return getParams().getBooleanParameter(HttpMethodParams.USE_EXPECT_CONTINUE, false); }
getParams().setBooleanParameter(HttpMethodParams.USE_EXPECT_CONTINUE, value);
getParams().setBooleanParameter(HttpMethodParams.USE_EXPECT_CONTINUE, value);
getParams().setBooleanParameter(HttpMethodParams.USE_EXPECT_CONTINUE, value);
getParams().setBooleanParameter(HttpMethodParams.USE_EXPECT_CONTINUE, value);
if (getParams().isParameterTrue(HttpMethodParams.USE_EXPECT_CONTINUE) && getEffectiveVersion().greaterEquals(HttpVersion.HTTP_1_1) && hasRequestContent())
if (getParams().isParameterTrue(HttpMethodParams.USE_EXPECT_CONTINUE) && getEffectiveVersion().greaterEquals(HttpVersion.HTTP_1_1) && hasRequestContent())
if (getParams().isParameterTrue(HttpMethodParams.USE_EXPECT_CONTINUE) && getEffectiveVersion().greaterEquals(HttpVersion.HTTP_1_1) && hasRequestContent())
if (getParams().isParameterTrue(HttpMethodParams.USE_EXPECT_CONTINUE) && getEffectiveVersion().greaterEquals(HttpVersion.HTTP_1_1) && hasRequestContent())