railo.commons.net.http.httpclient3
Class HttpMethodCloner
java.lang.Object
railo.commons.net.http.httpclient3.HttpMethodCloner
public class HttpMethodCloner
- extends Object
In this class are only methods to copy a HttpMethod:
PUT, GET, POST,DELETE, TRACE, ...
Method Summary |
static org.apache.commons.httpclient.HttpMethod |
clone(org.apache.commons.httpclient.HttpMethod m)
Clones a HttpMethod. |
HttpMethodCloner
public HttpMethodCloner()
clone
public static org.apache.commons.httpclient.HttpMethod clone(org.apache.commons.httpclient.HttpMethod m)
- Clones a HttpMethod. <br>
<b>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
Copyright © 2012 Railo