aboutsummaryrefslogtreecommitdiff
path: root/ServiceStack/Host/ContentTypes.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ServiceStack/Host/ContentTypes.cs')
-rw-r--r--ServiceStack/Host/ContentTypes.cs10
1 files changed, 1 insertions, 9 deletions
diff --git a/ServiceStack/Host/ContentTypes.cs b/ServiceStack/Host/ContentTypes.cs
index 58ba29801..8840e7c8b 100644
--- a/ServiceStack/Host/ContentTypes.cs
+++ b/ServiceStack/Host/ContentTypes.cs
@@ -18,15 +18,7 @@ namespace ServiceStack.Host
serializer(response, responseStream);
}
- public Action<object, IResponse> GetResponseSerializer(string contentType)
- {
- var serializer = GetStreamSerializer(contentType);
- if (serializer == null) return null;
-
- return (dto, httpRes) => serializer(dto, httpRes.OutputStream);
- }
-
- public Action<object, Stream> GetStreamSerializer(string contentType)
+ private Action<object, Stream> GetStreamSerializer(string contentType)
{
switch (GetRealContentType(contentType))
{