/** * Sets non-compliant response body check timeout. * * @param timeout The period of time in milliseconds to wait for a response * body from a non-compliant server. <tt>-1</tt> can be used to * disable non-compliant response body check * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#HEAD_BODY_CHECK_TIMEOUT */ public void setBodyCheckTimeout(int timeout) { getParams().setIntParameter(HttpMethodParams.HEAD_BODY_CHECK_TIMEOUT, timeout); }
/** * Returns non-compliant response body check timeout. * * @return The period of time in milliseconds to wait for a response * body from a non-compliant server. <tt>-1</tt> returned when * non-compliant response body check is disabled * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#HEAD_BODY_CHECK_TIMEOUT */ public int getBodyCheckTimeout() { return getParams().getIntParameter(HttpMethodParams.HEAD_BODY_CHECK_TIMEOUT, -1); }
/** * Returns non-compliant response body check timeout. * * @return The period of time in milliseconds to wait for a response * body from a non-compliant server. <tt>-1</tt> returned when * non-compliant response body check is disabled * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#HEAD_BODY_CHECK_TIMEOUT */ public int getBodyCheckTimeout() { return getParams().getIntParameter(HttpMethodParams.HEAD_BODY_CHECK_TIMEOUT, -1); }
/** * Returns non-compliant response body check timeout. * * @return The period of time in milliseconds to wait for a response * body from a non-compliant server. <tt>-1</tt> returned when * non-compliant response body check is disabled * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#HEAD_BODY_CHECK_TIMEOUT */ public int getBodyCheckTimeout() { return getParams().getIntParameter(HttpMethodParams.HEAD_BODY_CHECK_TIMEOUT, -1); }
/** * Returns non-compliant response body check timeout. * * @return The period of time in milliseconds to wait for a response * body from a non-compliant server. <tt>-1</tt> returned when * non-compliant response body check is disabled * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#HEAD_BODY_CHECK_TIMEOUT */ public int getBodyCheckTimeout() { return getParams().getIntParameter(HttpMethodParams.HEAD_BODY_CHECK_TIMEOUT, -1); }
/** * Sets non-compliant response body check timeout. * * @param timeout The period of time in milliseconds to wait for a response * body from a non-compliant server. <tt>-1</tt> can be used to * disable non-compliant response body check * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#HEAD_BODY_CHECK_TIMEOUT */ public void setBodyCheckTimeout(int timeout) { getParams().setIntParameter(HttpMethodParams.HEAD_BODY_CHECK_TIMEOUT, timeout); }
/** * Sets non-compliant response body check timeout. * * @param timeout The period of time in milliseconds to wait for a response * body from a non-compliant server. <tt>-1</tt> can be used to * disable non-compliant response body check * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#HEAD_BODY_CHECK_TIMEOUT */ public void setBodyCheckTimeout(int timeout) { getParams().setIntParameter(HttpMethodParams.HEAD_BODY_CHECK_TIMEOUT, timeout); }
/** * Returns non-compliant response body check timeout. * * @return The period of time in milliseconds to wait for a response * body from a non-compliant server. <tt>-1</tt> returned when * non-compliant response body check is disabled * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#HEAD_BODY_CHECK_TIMEOUT */ public int getBodyCheckTimeout() { return getParams().getIntParameter(HttpMethodParams.HEAD_BODY_CHECK_TIMEOUT, -1); }
/** * Sets non-compliant response body check timeout. * * @param timeout The period of time in milliseconds to wait for a response * body from a non-compliant server. <tt>-1</tt> can be used to * disable non-compliant response body check * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#HEAD_BODY_CHECK_TIMEOUT */ public void setBodyCheckTimeout(int timeout) { getParams().setIntParameter(HttpMethodParams.HEAD_BODY_CHECK_TIMEOUT, timeout); }
/** * Sets non-compliant response body check timeout. * * @param timeout The period of time in milliseconds to wait for a response * body from a non-compliant server. <tt>-1</tt> can be used to * disable non-compliant response body check * * @deprecated Use {@link HttpMethodParams} * * @see #getParams() * @see HttpMethodParams * @see HttpMethodParams#HEAD_BODY_CHECK_TIMEOUT */ public void setBodyCheckTimeout(int timeout) { getParams().setIntParameter(HttpMethodParams.HEAD_BODY_CHECK_TIMEOUT, timeout); }