Tabnine Logo
ExpectContinueMethod.recycle
Code IndexAdd Tabnine to your IDE (free)

How to use
recycle
method
in
org.apache.commons.httpclient.methods.ExpectContinueMethod

Best Java code snippets using org.apache.commons.httpclient.methods.ExpectContinueMethod.recycle (Showing top 10 results out of 315)

origin: commons-httpclient/commons-httpclient

  /**
   * Recycles the HTTP method so that it can be used again.
   * Note that all of the instance variables will be reset
   * once this method has been called. This method will also
   * release the connection being used by this HTTP method.
   * 
   * @see #releaseConnection()
   * 
   * @deprecated no longer supported and will be removed in the future
   *             version of HttpClient
   */
  public void recycle() {
    LOG.trace("enter MultipartPostMethod.recycle()");
    super.recycle();
    parameters.clear();
  }
}
origin: commons-httpclient/commons-httpclient

/**
 * Recycles the HTTP method so that it can be used again.
 * Note that all of the instance variables will be reset
 * once this method has been called. This method will also
 * release the connection being used by this HTTP method.
 * 
 * @see #releaseConnection()
 * 
 * @deprecated no longer supported and will be removed in the future
 *             version of HttpClient
 */
public void recycle() {
  LOG.trace("enter EntityEnclosingMethod.recycle()");
  clearRequestBody();
  this.requestContentLength = InputStreamRequestEntity.CONTENT_LENGTH_AUTO;
  this.repeatCount = 0;
  this.chunked = false;
  super.recycle();
}
origin: org.apache.commons/com.springsource.org.apache.commons.httpclient

  /**
   * Recycles the HTTP method so that it can be used again.
   * Note that all of the instance variables will be reset
   * once this method has been called. This method will also
   * release the connection being used by this HTTP method.
   * 
   * @see #releaseConnection()
   * 
   * @deprecated no longer supported and will be removed in the future
   *             version of HttpClient
   */
  public void recycle() {
    LOG.trace("enter MultipartPostMethod.recycle()");
    super.recycle();
    parameters.clear();
  }
}
origin: org.apache.commons/httpclient

  /**
   * Recycles the HTTP method so that it can be used again.
   * Note that all of the instance variables will be reset
   * once this method has been called. This method will also
   * release the connection being used by this HTTP method.
   * 
   * @see #releaseConnection()
   * 
   * @deprecated no longer supported and will be removed in the future
   *             version of HttpClient
   */
  public void recycle() {
    LOG.trace("enter MultipartPostMethod.recycle()");
    super.recycle();
    parameters.clear();
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient

  /**
   * Recycles the HTTP method so that it can be used again.
   * Note that all of the instance variables will be reset
   * once this method has been called. This method will also
   * release the connection being used by this HTTP method.
   * 
   * @see #releaseConnection()
   * 
   * @deprecated no longer supported and will be removed in the future
   *             version of HttpClient
   */
  public void recycle() {
    LOG.trace("enter MultipartPostMethod.recycle()");
    super.recycle();
    parameters.clear();
  }
}
origin: org.wso2.commons-httpclient/commons-httpclient

  /**
   * Recycles the HTTP method so that it can be used again.
   * Note that all of the instance variables will be reset
   * once this method has been called. This method will also
   * release the connection being used by this HTTP method.
   * 
   * @see #releaseConnection()
   * 
   * @deprecated no longer supported and will be removed in the future
   *             version of HttpClient
   */
  public void recycle() {
    LOG.trace("enter MultipartPostMethod.recycle()");
    super.recycle();
    parameters.clear();
  }
}
origin: org.apache.commons/httpclient

/**
 * Recycles the HTTP method so that it can be used again.
 * Note that all of the instance variables will be reset
 * once this method has been called. This method will also
 * release the connection being used by this HTTP method.
 * 
 * @see #releaseConnection()
 * 
 * @deprecated no longer supported and will be removed in the future
 *             version of HttpClient
 */
public void recycle() {
  LOG.trace("enter EntityEnclosingMethod.recycle()");
  clearRequestBody();
  this.requestContentLength = InputStreamRequestEntity.CONTENT_LENGTH_AUTO;
  this.repeatCount = 0;
  this.chunked = false;
  super.recycle();
}
origin: org.apache.commons/com.springsource.org.apache.commons.httpclient

/**
 * Recycles the HTTP method so that it can be used again.
 * Note that all of the instance variables will be reset
 * once this method has been called. This method will also
 * release the connection being used by this HTTP method.
 * 
 * @see #releaseConnection()
 * 
 * @deprecated no longer supported and will be removed in the future
 *             version of HttpClient
 */
public void recycle() {
  LOG.trace("enter EntityEnclosingMethod.recycle()");
  clearRequestBody();
  this.requestContentLength = InputStreamRequestEntity.CONTENT_LENGTH_AUTO;
  this.repeatCount = 0;
  this.chunked = false;
  super.recycle();
}
origin: org.wso2.commons-httpclient/commons-httpclient

/**
 * Recycles the HTTP method so that it can be used again.
 * Note that all of the instance variables will be reset
 * once this method has been called. This method will also
 * release the connection being used by this HTTP method.
 * 
 * @see #releaseConnection()
 * 
 * @deprecated no longer supported and will be removed in the future
 *             version of HttpClient
 */
public void recycle() {
  LOG.trace("enter EntityEnclosingMethod.recycle()");
  clearRequestBody();
  this.requestContentLength = InputStreamRequestEntity.CONTENT_LENGTH_AUTO;
  this.repeatCount = 0;
  this.chunked = false;
  super.recycle();
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient

/**
 * Recycles the HTTP method so that it can be used again.
 * Note that all of the instance variables will be reset
 * once this method has been called. This method will also
 * release the connection being used by this HTTP method.
 * 
 * @see #releaseConnection()
 * 
 * @deprecated no longer supported and will be removed in the future
 *             version of HttpClient
 */
public void recycle() {
  LOG.trace("enter EntityEnclosingMethod.recycle()");
  clearRequestBody();
  this.requestContentLength = InputStreamRequestEntity.CONTENT_LENGTH_AUTO;
  this.repeatCount = 0;
  this.chunked = false;
  super.recycle();
}
org.apache.commons.httpclient.methodsExpectContinueMethodrecycle

Popular methods of ExpectContinueMethod

  • addRequestHeaders
    Sets the Expect header if it has not already been set, in addition to the "standard" set of headers.
  • getEffectiveVersion
  • getParams
  • getRequestCharSet
  • getRequestHeader
  • hasRequestContent
    Returns true if there is a request body to be sent. 'Expect: 100-continue' handshake may not be used
  • removeRequestHeader
  • setFollowRedirects
  • setRequestHeader

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • addToBackStack (FragmentTransaction)
  • setScale (BigDecimal)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now