diff --git a/src/Spring/Spring.Http/Http/Rest/IRestAsyncOperations.cs b/src/Spring/Spring.Http/Http/Rest/IRestAsyncOperations.cs
index 28df06cd..dcf3b8c7 100644
--- a/src/Spring/Spring.Http/Http/Rest/IRestAsyncOperations.cs
+++ b/src/Spring/Spring.Http/Http/Rest/IRestAsyncOperations.cs
@@ -50,7 +50,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The variables to expand the template.
/// The converted object
- void GetForObjectAsync(string url, string[] uriVariables, Action> getCompleted) where T : class;
+ void GetForObjectAsync(string url, object[] uriVariables, Action> getCompleted) where T : class;
///
/// Retrieve a representation by doing a GET on the specified URL.
@@ -63,7 +63,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The dictionary containing variables for the URI template.
/// The converted object
- void GetForObjectAsync(string url, IDictionary uriVariables, Action> getCompleted) where T : class;
+ void GetForObjectAsync(string url, IDictionary uriVariables, Action> getCompleted) where T : class;
///
/// Retrieve a representation by doing a GET on the specified URL.
@@ -85,7 +85,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The variables to expand the template.
/// The HTTP response message.
- void GetForMessageAsync(string url, string[] uriVariables, Action>> getCompleted) where T : class;
+ void GetForMessageAsync(string url, object[] uriVariables, Action>> getCompleted) where T : class;
///
/// Retrieve an entity by doing a GET on the specified URL.
@@ -98,7 +98,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The dictionary containing variables for the URI template.
/// The HTTP response message.
- void GetForMessageAsync(string url, IDictionary uriVariables, Action>> getCompleted) where T : class;
+ void GetForMessageAsync(string url, IDictionary uriVariables, Action>> getCompleted) where T : class;
///
/// Retrieve an entity by doing a GET on the specified URL.
@@ -122,7 +122,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The variables to expand the template.
/// All HTTP headers of that resource
- void HeadForHeadersAsync(string url, string[] uriVariables, Action> headCompleted);
+ void HeadForHeadersAsync(string url, object[] uriVariables, Action> headCompleted);
///
/// Retrieve all headers of the resource specified by the URI template.
@@ -133,7 +133,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The dictionary containing variables for the URI template.
/// All HTTP headers of that resource
- void HeadForHeadersAsync(string url, IDictionary uriVariables, Action> headCompleted);
+ void HeadForHeadersAsync(string url, IDictionary uriVariables, Action> headCompleted);
///
/// Retrieve all headers of the resource specified by the URI template.
@@ -163,7 +163,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The variables to expand the template.
/// The value for the Location header.
- void PostForLocationAsync(string url, object request, string[] uriVariables, Action postCompleted);
+ void PostForLocationAsync(string url, object request, object[] uriVariables, Action postCompleted);
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -182,7 +182,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The dictionary containing variables for the URI template.
/// The value for the Location header.
- void PostForLocationAsync(string url, object request, IDictionary uriVariables, Action postCompleted);
+ void PostForLocationAsync(string url, object request, IDictionary uriVariables, Action postCompleted);
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -214,7 +214,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The variables to expand the template.
/// The converted object.
- void PostForObjectAsync(string url, object request, string[] uriVariables, Action> postCompleted) where T : class;
+ void PostForObjectAsync(string url, object request, object[] uriVariables, Action> postCompleted) where T : class;
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -233,7 +233,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The dictionary containing variables for the URI template.
/// The converted object.
- void PostForObjectAsync(string url, object request, IDictionary uriVariables, Action> postCompleted) where T : class;
+ void PostForObjectAsync(string url, object request, IDictionary uriVariables, Action> postCompleted) where T : class;
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -265,7 +265,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The variables to expand the template.
/// The HTTP response message.
- void PostForMessageAsync(string url, object request, string[] uriVariables, Action>> postCompleted) where T : class;
+ void PostForMessageAsync(string url, object request, object[] uriVariables, Action>> postCompleted) where T : class;
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -284,7 +284,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The dictionary containing variables for the URI template.
/// The HTTP response message.
- void PostForMessageAsync(string url, object request, IDictionary uriVariables, Action>> postCompleted) where T : class;
+ void PostForMessageAsync(string url, object request, IDictionary uriVariables, Action>> postCompleted) where T : class;
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -315,7 +315,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The variables to expand the template.
/// The HTTP response message with no entity.
- void PostForMessageAsync(string url, object request, string[] uriVariables, Action> postCompleted);
+ void PostForMessageAsync(string url, object request, object[] uriVariables, Action> postCompleted);
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -333,7 +333,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The dictionary containing variables for the URI template.
/// The HTTP response message with no entity.
- void PostForMessageAsync(string url, object request, IDictionary uriVariables, Action> postCompleted);
+ void PostForMessageAsync(string url, object request, IDictionary uriVariables, Action> postCompleted);
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -365,7 +365,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The Object to be PUT, may be null.
/// The variables to expand the template.
- void PutAsync(string url, object request, string[] uriVariables, Action> putCompleted);
+ void PutAsync(string url, object request, object[] uriVariables, Action> putCompleted);
///
/// Create or update a resource by PUTting the given object to the URI.
@@ -381,7 +381,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The Object to be PUT, may be null.
/// The dictionary containing variables for the URI template.
- void PutAsync(string url, object request, IDictionary uriVariables, Action> putCompleted);
+ void PutAsync(string url, object request, IDictionary uriVariables, Action> putCompleted);
///
/// Create or update a resource by PUTting the given object to the URI.
@@ -405,7 +405,7 @@ namespace Spring.Http.Rest
///
/// The URL.
/// The variables to expand the template.
- void DeleteAsync(string url, string[] uriVariables, Action> deleteCompleted);
+ void DeleteAsync(string url, object[] uriVariables, Action> deleteCompleted);
///
/// Delete the resources at the specified URI.
@@ -415,7 +415,7 @@ namespace Spring.Http.Rest
///
/// The URL.
/// The dictionary containing variables for the URI template.
- void DeleteAsync(string url, IDictionary uriVariables, Action> deleteCompleted);
+ void DeleteAsync(string url, IDictionary uriVariables, Action> deleteCompleted);
///
/// Delete the resources at the specified URI.
@@ -436,7 +436,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The variables to expand the template.
/// The value of the allow header.
- void OptionsForAllowAsync(string url, string[] uriVariables, Action> optionsCompleted);
+ void OptionsForAllowAsync(string url, object[] uriVariables, Action> optionsCompleted);
///
/// Return the value of the Allow header for the given URI.
@@ -447,7 +447,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The dictionary containing variables for the URI template.
/// The value of the allow header.
- void OptionsForAllowAsync(string url, IDictionary uriVariables, Action> optionsCompleted);
+ void OptionsForAllowAsync(string url, IDictionary uriVariables, Action> optionsCompleted);
///
/// Return the value of the Allow header for the given URI.
@@ -476,7 +476,7 @@ namespace Spring.Http.Rest
///
/// The variables to expand the template.
/// The HTTP response message.
- void ExchangeAsync(string url, HttpMethod method, HttpEntity requestEntity, string[] uriVariables, Action>> methodCompleted) where T : class;
+ void ExchangeAsync(string url, HttpMethod method, HttpEntity requestEntity, object[] uriVariables, Action>> methodCompleted) where T : class;
///
/// Execute the HTTP method to the given URI template, writing the given request message to the request,
@@ -493,7 +493,7 @@ namespace Spring.Http.Rest
///
/// The dictionary containing variables for the URI template.
/// The HTTP response message.
- void ExchangeAsync(string url, HttpMethod method, HttpEntity requestEntity, IDictionary uriVariables, Action>> methodCompleted) where T : class;
+ void ExchangeAsync(string url, HttpMethod method, HttpEntity requestEntity, IDictionary uriVariables, Action>> methodCompleted) where T : class;
///
/// Execute the HTTP method to the given URI template, writing the given request message to the request,
@@ -522,7 +522,7 @@ namespace Spring.Http.Rest
///
/// The variables to expand the template.
/// The HTTP response message with no entity.
- void ExchangeAsync(string url, HttpMethod method, HttpEntity requestEntity, string[] uriVariables, Action> methodCompleted);
+ void ExchangeAsync(string url, HttpMethod method, HttpEntity requestEntity, object[] uriVariables, Action> methodCompleted);
///
/// Execute the HTTP method to the given URI template, writing the given request message to the request,
@@ -538,7 +538,7 @@ namespace Spring.Http.Rest
///
/// The dictionary containing variables for the URI template.
/// The HTTP response message with no entity.
- void ExchangeAsync(string url, HttpMethod method, HttpEntity requestEntity, IDictionary uriVariables, Action> methodCompleted);
+ void ExchangeAsync(string url, HttpMethod method, HttpEntity requestEntity, IDictionary uriVariables, Action> methodCompleted);
///
/// Execute the HTTP method to the given URI template, writing the given request message to the request,
@@ -570,7 +570,7 @@ namespace Spring.Http.Rest
/// Object that extracts the return value from the response.
/// The variables to expand the template.
/// An arbitrary object, as returned by the .
- void ExecuteAsync(string url, HttpMethod method, IRequestCallback requestCallback, IResponseExtractor responseExtractor, string[] uriVariables, Action> methodCompleted) where T : class;
+ void ExecuteAsync(string url, HttpMethod method, IRequestCallback requestCallback, IResponseExtractor responseExtractor, object[] uriVariables, Action> methodCompleted) where T : class;
///
/// Execute the HTTP method to the given URI template, preparing the request with the
@@ -586,7 +586,7 @@ namespace Spring.Http.Rest
/// Object that extracts the return value from the response.
/// The dictionary containing variables for the URI template.
/// An arbitrary object, as returned by the .
- void ExecuteAsync(string url, HttpMethod method, IRequestCallback requestCallback, IResponseExtractor responseExtractor, IDictionary uriVariables, Action> methodCompleted) where T : class;
+ void ExecuteAsync(string url, HttpMethod method, IRequestCallback requestCallback, IResponseExtractor responseExtractor, IDictionary uriVariables, Action> methodCompleted) where T : class;
///
/// Execute the HTTP method to the given URI template, preparing the request with the
diff --git a/src/Spring/Spring.Http/Http/Rest/IRestOperations.cs b/src/Spring/Spring.Http/Http/Rest/IRestOperations.cs
index 01cec0b1..2e1fcecf 100644
--- a/src/Spring/Spring.Http/Http/Rest/IRestOperations.cs
+++ b/src/Spring/Spring.Http/Http/Rest/IRestOperations.cs
@@ -54,7 +54,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The variables to expand the template.
/// The converted object
- T GetForObject(string url, params string[] uriVariables) where T : class;
+ T GetForObject(string url, params object[] uriVariables) where T : class;
///
/// Retrieve a representation by doing a GET on the specified URL.
@@ -67,7 +67,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The dictionary containing variables for the URI template.
/// The converted object
- T GetForObject(string url, IDictionary uriVariables) where T : class;
+ T GetForObject(string url, IDictionary uriVariables) where T : class;
///
/// Retrieve a representation by doing a GET on the specified URL.
@@ -89,7 +89,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The variables to expand the template.
/// The HTTP response message.
- HttpResponseMessage GetForMessage(string url, params string[] uriVariables) where T : class;
+ HttpResponseMessage GetForMessage(string url, params object[] uriVariables) where T : class;
///
/// Retrieve an entity by doing a GET on the specified URL.
@@ -102,7 +102,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The dictionary containing variables for the URI template.
/// The HTTP response message.
- HttpResponseMessage GetForMessage(string url, IDictionary uriVariables) where T : class;
+ HttpResponseMessage GetForMessage(string url, IDictionary uriVariables) where T : class;
///
/// Retrieve an entity by doing a GET on the specified URL.
@@ -126,7 +126,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The variables to expand the template.
/// All HTTP headers of that resource
- HttpHeaders HeadForHeaders(string url, params string[] uriVariables);
+ HttpHeaders HeadForHeaders(string url, params object[] uriVariables);
///
/// Retrieve all headers of the resource specified by the URI template.
@@ -137,7 +137,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The dictionary containing variables for the URI template.
/// All HTTP headers of that resource
- HttpHeaders HeadForHeaders(string url, IDictionary uriVariables);
+ HttpHeaders HeadForHeaders(string url, IDictionary uriVariables);
///
/// Retrieve all headers of the resource specified by the URI template.
@@ -167,7 +167,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The variables to expand the template.
/// The value for the Location header.
- Uri PostForLocation(string url, object request, params string[] uriVariables);
+ Uri PostForLocation(string url, object request, params object[] uriVariables);
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -186,7 +186,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The dictionary containing variables for the URI template.
/// The value for the Location header.
- Uri PostForLocation(string url, object request, IDictionary uriVariables);
+ Uri PostForLocation(string url, object request, IDictionary uriVariables);
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -218,7 +218,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The variables to expand the template.
/// The converted object.
- T PostForObject(string url, object request, params string[] uriVariables) where T : class;
+ T PostForObject(string url, object request, params object[] uriVariables) where T : class;
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -237,7 +237,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The dictionary containing variables for the URI template.
/// The converted object.
- T PostForObject(string url, object request, IDictionary uriVariables) where T : class;
+ T PostForObject(string url, object request, IDictionary uriVariables) where T : class;
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -269,7 +269,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The variables to expand the template.
/// The HTTP response message.
- HttpResponseMessage PostForMessage(string url, object request, params string[] uriVariables) where T : class;
+ HttpResponseMessage PostForMessage(string url, object request, params object[] uriVariables) where T : class;
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -288,7 +288,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The dictionary containing variables for the URI template.
/// The HTTP response message.
- HttpResponseMessage PostForMessage(string url, object request, IDictionary uriVariables) where T : class;
+ HttpResponseMessage PostForMessage(string url, object request, IDictionary uriVariables) where T : class;
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -319,7 +319,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The variables to expand the template.
/// The HTTP response message with no entity.
- HttpResponseMessage PostForMessage(string url, object request, params string[] uriVariables);
+ HttpResponseMessage PostForMessage(string url, object request, params object[] uriVariables);
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -337,7 +337,7 @@ namespace Spring.Http.Rest
/// The Object to be POSTed, may be null.
/// The dictionary containing variables for the URI template.
/// The HTTP response message with no entity.
- HttpResponseMessage PostForMessage(string url, object request, IDictionary uriVariables);
+ HttpResponseMessage PostForMessage(string url, object request, IDictionary uriVariables);
///
/// Create a new resource by POSTing the given object to the URI template,
@@ -369,7 +369,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The Object to be PUT, may be null.
/// The variables to expand the template.
- void Put(string url, object request, params string[] uriVariables);
+ void Put(string url, object request, params object[] uriVariables);
///
/// Create or update a resource by PUTting the given object to the URI.
@@ -385,7 +385,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The Object to be PUT, may be null.
/// The dictionary containing variables for the URI template.
- void Put(string url, object request, IDictionary uriVariables);
+ void Put(string url, object request, IDictionary uriVariables);
///
/// Create or update a resource by PUTting the given object to the URI.
@@ -409,7 +409,7 @@ namespace Spring.Http.Rest
///
/// The URL.
/// The variables to expand the template.
- void Delete(string url, params string[] uriVariables);
+ void Delete(string url, params object[] uriVariables);
///
/// Delete the resources at the specified URI.
@@ -419,7 +419,7 @@ namespace Spring.Http.Rest
///
/// The URL.
/// The dictionary containing variables for the URI template.
- void Delete(string url, IDictionary uriVariables);
+ void Delete(string url, IDictionary uriVariables);
///
/// Delete the resources at the specified URI.
@@ -440,7 +440,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The variables to expand the template.
/// The value of the allow header.
- IList OptionsForAllow(string url, params string[] uriVariables);
+ IList OptionsForAllow(string url, params object[] uriVariables);
///
/// Return the value of the Allow header for the given URI.
@@ -451,7 +451,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The dictionary containing variables for the URI template.
/// The value of the allow header.
- IList OptionsForAllow(string url, IDictionary uriVariables);
+ IList OptionsForAllow(string url, IDictionary uriVariables);
///
/// Return the value of the Allow header for the given URI.
@@ -480,7 +480,7 @@ namespace Spring.Http.Rest
///
/// The variables to expand the template.
/// The HTTP response message.
- HttpResponseMessage Exchange(string url, HttpMethod method, HttpEntity requestEntity, params string[] uriVariables) where T : class;
+ HttpResponseMessage Exchange(string url, HttpMethod method, HttpEntity requestEntity, params object[] uriVariables) where T : class;
///
/// Execute the HTTP method to the given URI template, writing the given request message to the request,
@@ -497,7 +497,7 @@ namespace Spring.Http.Rest
///
/// The dictionary containing variables for the URI template.
/// The HTTP response message.
- HttpResponseMessage Exchange(string url, HttpMethod method, HttpEntity requestEntity, IDictionary uriVariables) where T : class;
+ HttpResponseMessage Exchange(string url, HttpMethod method, HttpEntity requestEntity, IDictionary uriVariables) where T : class;
///
/// Execute the HTTP method to the given URI template, writing the given request message to the request,
@@ -526,7 +526,7 @@ namespace Spring.Http.Rest
///
/// The variables to expand the template.
/// The HTTP response message with no entity.
- HttpResponseMessage Exchange(string url, HttpMethod method, HttpEntity requestEntity, params string[] uriVariables);
+ HttpResponseMessage Exchange(string url, HttpMethod method, HttpEntity requestEntity, params object[] uriVariables);
///
/// Execute the HTTP method to the given URI template, writing the given request message to the request,
@@ -542,7 +542,7 @@ namespace Spring.Http.Rest
///
/// The dictionary containing variables for the URI template.
/// The HTTP response message with no entity.
- HttpResponseMessage Exchange(string url, HttpMethod method, HttpEntity requestEntity, IDictionary uriVariables);
+ HttpResponseMessage Exchange(string url, HttpMethod method, HttpEntity requestEntity, IDictionary uriVariables);
///
/// Execute the HTTP method to the given URI template, writing the given request message to the request,
@@ -574,7 +574,7 @@ namespace Spring.Http.Rest
/// Object that extracts the return value from the response.
/// The variables to expand the template.
/// An arbitrary object, as returned by the .
- T Execute(string url, HttpMethod method, IRequestCallback requestCallback, IResponseExtractor responseExtractor, params string[] uriVariables) where T : class;
+ T Execute(string url, HttpMethod method, IRequestCallback requestCallback, IResponseExtractor responseExtractor, params object[] uriVariables) where T : class;
///
/// Execute the HTTP method to the given URI template, preparing the request with the
@@ -590,7 +590,7 @@ namespace Spring.Http.Rest
/// Object that extracts the return value from the response.
/// The dictionary containing variables for the URI template.
/// An arbitrary object, as returned by the .
- T Execute(string url, HttpMethod method, IRequestCallback requestCallback, IResponseExtractor responseExtractor, IDictionary uriVariables) where T : class;
+ T Execute(string url, HttpMethod method, IRequestCallback requestCallback, IResponseExtractor responseExtractor, IDictionary uriVariables) where T : class;
///
/// Execute the HTTP method to the given URI template, preparing the request with the
diff --git a/src/Spring/Spring.Http/Http/Rest/RestTemplate.cs b/src/Spring/Spring.Http/Http/Rest/RestTemplate.cs
index 7529ee0e..f37d1eba 100644
--- a/src/Spring/Spring.Http/Http/Rest/RestTemplate.cs
+++ b/src/Spring/Spring.Http/Http/Rest/RestTemplate.cs
@@ -268,7 +268,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The variables to expand the template.
/// The converted object
- public T GetForObject(string url, params string[] uriVariables) where T : class
+ public T GetForObject(string url, params object[] uriVariables) where T : class
{
AcceptHeaderRequestCallback requestCallback = new AcceptHeaderRequestCallback(typeof(T), this._messageConverters);
MessageConverterResponseExtractor responseExtractor = new MessageConverterResponseExtractor(this._messageConverters);
@@ -286,7 +286,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The dictionary containing variables for the URI template.
/// The converted object
- public T GetForObject(string url, IDictionary uriVariables) where T : class
+ public T GetForObject(string url, IDictionary uriVariables) where T : class
{
AcceptHeaderRequestCallback requestCallback = new AcceptHeaderRequestCallback(typeof(T), this._messageConverters);
MessageConverterResponseExtractor responseExtractor = new MessageConverterResponseExtractor(this._messageConverters);
@@ -318,7 +318,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The variables to expand the template.
/// The HTTP response message.
- public HttpResponseMessage GetForMessage(string url, params string[] uriVariables) where T : class
+ public HttpResponseMessage GetForMessage(string url, params object[] uriVariables) where T : class
{
AcceptHeaderRequestCallback requestCallback = new AcceptHeaderRequestCallback(typeof(T), this._messageConverters);
HttpMessageResponseExtractor responseExtractor = new HttpMessageResponseExtractor(this._messageConverters);
@@ -336,7 +336,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The dictionary containing variables for the URI template.
/// The HTTP response message.
- public HttpResponseMessage GetForMessage(string url, IDictionary uriVariables) where T : class
+ public HttpResponseMessage GetForMessage(string url, IDictionary uriVariables) where T : class
{
AcceptHeaderRequestCallback requestCallback = new AcceptHeaderRequestCallback(typeof(T), this._messageConverters);
HttpMessageResponseExtractor responseExtractor = new HttpMessageResponseExtractor(this._messageConverters);
@@ -370,7 +370,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The variables to expand the template.
/// All HTTP headers of that resource
- public HttpHeaders HeadForHeaders(string url, params string[] uriVariables)
+ public HttpHeaders HeadForHeaders(string url, params object[] uriVariables)
{
return this.Execute(url, HttpMethod.HEAD, null, this.headersExtractor, uriVariables);
}
@@ -384,7 +384,7 @@ namespace Spring.Http.Rest
/// The URL.
/// The dictionary containing variables for the URI template.
/// All HTTP headers of that resource
- public HttpHeaders HeadForHeaders(string url, IDictionary uriVariables)
+ public HttpHeaders HeadForHeaders(string url, IDictionary