C# Class Pomona.Common.Web.HttpMessageConverterBase

Inheritance: Newtonsoft.Json.JsonConverter
Exibir arquivo Open project: Pomona/Pomona

Protected Methods

Method Description
HttpMessageConverterBase ( HttpMessageContentWriter contentWriter ) : System
ReadBody ( Newtonsoft.Json.Linq.JObject jobj ) : HttpContent
ReadHeaders ( Newtonsoft.Json.Linq.JObject jobj, JsonSerializer serializer, Pomona.Common.Web.HttpHeaders headers, HttpContent content ) : void
WriteBody ( JsonWriter writer, HttpContent content ) : void
WriteHeaders ( JsonWriter writer, JsonSerializer serializer, Pomona.Common.Web.HttpHeaders headers, HttpContent content ) : void

Private Methods

Method Description
IsIgnoredHeader ( string key ) : bool

Method Details

HttpMessageConverterBase() protected method

protected HttpMessageConverterBase ( HttpMessageContentWriter contentWriter ) : System
contentWriter HttpMessageContentWriter
return System

ReadBody() protected static method

protected static ReadBody ( Newtonsoft.Json.Linq.JObject jobj ) : HttpContent
jobj Newtonsoft.Json.Linq.JObject
return System.Net.Http.HttpContent

ReadHeaders() protected static method

protected static ReadHeaders ( Newtonsoft.Json.Linq.JObject jobj, JsonSerializer serializer, Pomona.Common.Web.HttpHeaders headers, HttpContent content ) : void
jobj Newtonsoft.Json.Linq.JObject
serializer Newtonsoft.Json.JsonSerializer
headers Pomona.Common.Web.HttpHeaders
content System.Net.Http.HttpContent
return void

WriteBody() protected method

protected WriteBody ( JsonWriter writer, HttpContent content ) : void
writer Newtonsoft.Json.JsonWriter
content System.Net.Http.HttpContent
return void

WriteHeaders() protected static method

protected static WriteHeaders ( JsonWriter writer, JsonSerializer serializer, Pomona.Common.Web.HttpHeaders headers, HttpContent content ) : void
writer Newtonsoft.Json.JsonWriter
serializer Newtonsoft.Json.JsonSerializer
headers Pomona.Common.Web.HttpHeaders
content System.Net.Http.HttpContent
return void