Permalink
Browse files

Updated HttpEntityRequestCallback & MessageConverterResponseExtractor…

… members visibility
  • Loading branch information...
1 parent 4c080b3 commit e2fdd534d38ae3628d61d70c0905d47b290fe74a @bbaia bbaia committed Nov 9, 2012
@@ -40,7 +40,10 @@ public class HttpEntityRequestCallback : AcceptHeaderRequestCallback
#endif
#endregion
- private HttpEntity requestEntity;
+ /// <summary>
+ /// The underlying <see cref="HttpEntity"/> used by the request.
+ /// </summary>
+ protected HttpEntity requestEntity;
/// <summary>
/// Creates a new instance of <see cref="HttpEntityRequestCallback"/>.
@@ -42,7 +42,10 @@ public class MessageConverterResponseExtractor<T> : IResponseExtractor<T> where
#endif
#endregion
- private IList<IHttpMessageConverter> messageConverters;
+ /// <summary>
+ /// The underlying list of <see cref="IHttpMessageConverter"/> used to extract data from the response.
+ /// </summary>
+ protected IList<IHttpMessageConverter> messageConverters;
/// <summary>
/// Creates a new instance of the <see cref="MessageConverterResponseExtractor{T}"/> class.
@@ -59,7 +62,7 @@ public MessageConverterResponseExtractor(IList<IHttpMessageConverter> messageCon
/// this will all be handled by the <see cref="RestTemplate"/> class.
/// </summary>
/// <param name="response">The active HTTP request.</param>
- public T ExtractData(IClientHttpResponse response)
+ public virtual T ExtractData(IClientHttpResponse response)
{
if (!this.HasMessageBody(response))
{

0 comments on commit e2fdd53

Please sign in to comment.