Roll your own...
Here is our DAV MOVE Method just change MOVE To PATCH
import java.net.URI;
import org.apache.http.annotation.NotThreadSafe;
import org.apache.http.client.methods.HttpRequestBase;
/**
* HTTP DAV MOVE method.
*
* @since 4.0
*/
@NotThreadSafe
public class HttpMove extends HttpRequestBase {
public final static String METHOD_NAME = "MOVE";
public HttpMove() {
super();
}
public HttpMove(final URI uri) {
super();
setURI(uri);
}
/**
* @throws IllegalArgumentException if the uri is invalid.
*/
public HttpMove(final String uri) {
super();
setURI(URI.create(uri));
}
@Override
public String getMethod() {
return METHOD_NAME;
}
}
On Tue, Apr 17, 2012 at 10:27 AM, Alberto Aresca
<[email protected]> wrote:
> Hi all,
>
> A while ago a proposal for the new PATCH http verb has been made (see
> http://tools.ietf.org/html/rfc5789)
>
> Is there any plan to support it within the httpclient?
> Cheers
>
> --
> Alberto Aresca
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]