Class HttpMethodCloner
java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.contrib.utils.HttpMethodCloner
Deprecated.
DISCLAIMER: HttpClient developers DO NOT actively support this component.
The component is provided as a reference material, which may be inappropriate
to be used without additional customization.
In this class are only methods to copy a HttpMethod:
PUT, GET, POST,DELETE, TRACE, ...
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpMethod
clone
(HttpMethod m) Deprecated.Clones a HttpMethod.
-
Constructor Details
-
HttpMethodCloner
public HttpMethodCloner()Deprecated.
-
-
Method Details
-
clone
Deprecated.Clones a HttpMethod.
Attention: You have to clone a method before it has been executed, because the URI can change if followRedirects is set to true.- Parameters:
m
- the HttpMethod to clone- Returns:
- the cloned HttpMethod, null if the HttpMethod could not be instantiated
- Throws:
IOException
- if the request body couldn't be read
-