| | | 1 | | // Licensed to the .NET Foundation under one or more agreements. |
| | | 2 | | // The .NET Foundation licenses this file to you under the MIT license. |
| | | 3 | | |
| | | 4 | | using System; |
| | | 5 | | using System.Globalization; |
| | | 6 | | using System.IO; |
| | | 7 | | using System.Text; |
| | | 8 | | using System.Threading.Tasks; |
| | | 9 | | using System.Xml; |
| | | 10 | | using CoreWCF.Runtime; |
| | | 11 | | |
| | | 12 | | namespace CoreWCF.Channels |
| | | 13 | | { |
| | | 14 | | public class WebMessageEncoderFactory : MessageEncoderFactory |
| | | 15 | | { |
| | | 16 | | private readonly WebMessageEncoder _messageEncoder; |
| | | 17 | | |
| | 40 | 18 | | public WebMessageEncoderFactory(Encoding writeEncoding, int maxReadPoolSize, int maxWritePoolSize, XmlDictionary |
| | | 19 | | { |
| | 40 | 20 | | _messageEncoder = new WebMessageEncoder(writeEncoding, maxReadPoolSize, maxWritePoolSize, quotas, contentTyp |
| | 40 | 21 | | } |
| | | 22 | | |
| | 108 | 23 | | public override MessageEncoder Encoder => _messageEncoder; |
| | | 24 | | |
| | 0 | 25 | | public override MessageVersion MessageVersion => _messageEncoder.MessageVersion; |
| | | 26 | | |
| | | 27 | | internal static string GetContentType(string mediaType, Encoding encoding) |
| | | 28 | | { |
| | 72 | 29 | | string charset = TextEncoderDefaults.EncodingToCharSet(encoding); |
| | 72 | 30 | | if (!string.IsNullOrEmpty(charset)) |
| | | 31 | | { |
| | 72 | 32 | | return string.Format(CultureInfo.InvariantCulture, "{0}; charset={1}", mediaType, charset); |
| | | 33 | | } |
| | | 34 | | |
| | 0 | 35 | | return mediaType; |
| | | 36 | | } |
| | | 37 | | |
| | | 38 | | internal class WebMessageEncoder : MessageEncoder |
| | | 39 | | { |
| | | 40 | | private const string DefaultMediaType = "application/xml"; |
| | | 41 | | private readonly WebContentTypeMapper _contentTypeMapper; |
| | | 42 | | private readonly string _defaultContentType; |
| | | 43 | | |
| | | 44 | | // Double-checked locking pattern requires volatile for read/write synchronization |
| | | 45 | | private volatile MessageEncoder _jsonMessageEncoder; |
| | | 46 | | private readonly int _maxReadPoolSize; |
| | | 47 | | private readonly int _maxWritePoolSize; |
| | | 48 | | |
| | | 49 | | // Double-checked locking pattern requires volatile for read/write synchronization |
| | | 50 | | private volatile MessageEncoder _rawMessageEncoder; |
| | | 51 | | private readonly XmlDictionaryReaderQuotas _readerQuotas; |
| | | 52 | | |
| | | 53 | | // Double-checked locking pattern requires volatile for read/write synchronization |
| | | 54 | | private volatile MessageEncoder _textMessageEncoder; |
| | | 55 | | private readonly Encoding _writeEncoding; |
| | | 56 | | //bool javascriptCallbackEnabled; |
| | | 57 | | |
| | 40 | 58 | | public WebMessageEncoder(Encoding writeEncoding, int maxReadPoolSize, int maxWritePoolSize, XmlDictionaryRea |
| | | 59 | | { |
| | 40 | 60 | | if (writeEncoding == null) |
| | | 61 | | { |
| | 0 | 62 | | throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(writeEncoding)); |
| | | 63 | | } |
| | | 64 | | |
| | 40 | 65 | | ThisLock = new object(); |
| | | 66 | | |
| | 40 | 67 | | TextEncoderDefaults.ValidateEncoding(writeEncoding); |
| | 40 | 68 | | _writeEncoding = writeEncoding; |
| | | 69 | | |
| | 40 | 70 | | _maxReadPoolSize = maxReadPoolSize; |
| | 40 | 71 | | _maxWritePoolSize = maxWritePoolSize; |
| | 40 | 72 | | _contentTypeMapper = contentTypeMapper; |
| | | 73 | | //this.javascriptCallbackEnabled = javascriptCallbackEnabled; |
| | | 74 | | |
| | 40 | 75 | | _readerQuotas = new XmlDictionaryReaderQuotas(); |
| | 40 | 76 | | quotas.CopyTo(_readerQuotas); |
| | | 77 | | |
| | 40 | 78 | | _defaultContentType = GetContentType(DefaultMediaType, writeEncoding); |
| | 40 | 79 | | } |
| | | 80 | | |
| | 5 | 81 | | public override string ContentType => _defaultContentType; |
| | | 82 | | |
| | 0 | 83 | | public override string MediaType => DefaultMediaType; |
| | | 84 | | |
| | 58 | 85 | | public override MessageVersion MessageVersion => MessageVersion.None; |
| | | 86 | | |
| | | 87 | | private MessageEncoder JsonMessageEncoder |
| | | 88 | | { |
| | | 89 | | get |
| | | 90 | | { |
| | 39 | 91 | | if (_jsonMessageEncoder == null) |
| | | 92 | | { |
| | 29 | 93 | | lock (ThisLock) |
| | | 94 | | { |
| | 29 | 95 | | if (_jsonMessageEncoder == null) |
| | | 96 | | { |
| | 29 | 97 | | _jsonMessageEncoder = new JsonMessageEncoderFactory(_writeEncoding, _maxReadPoolSize, _m |
| | | 98 | | } |
| | 29 | 99 | | } |
| | | 100 | | } |
| | | 101 | | |
| | 39 | 102 | | return _jsonMessageEncoder; |
| | | 103 | | } |
| | | 104 | | } |
| | | 105 | | |
| | | 106 | | private MessageEncoder RawMessageEncoder |
| | | 107 | | { |
| | | 108 | | get |
| | | 109 | | { |
| | 46 | 110 | | if (_rawMessageEncoder == null) |
| | | 111 | | { |
| | 33 | 112 | | lock (ThisLock) |
| | | 113 | | { |
| | 33 | 114 | | if (_rawMessageEncoder == null) |
| | | 115 | | { |
| | 33 | 116 | | var bsmebe = new ByteStreamMessageEncodingBindingElement(_readerQuotas); |
| | | 117 | | // Backdoor method to do the equivalent of calling IWebMessageEncoderHelper.EnableBodyRe |
| | 33 | 118 | | _ = bsmebe.GetProperty<WebMessageEncoder>(new BindingContext(new CustomBinding(), new Bi |
| | 33 | 119 | | _rawMessageEncoder = bsmebe.CreateMessageEncoderFactory().Encoder; |
| | | 120 | | } |
| | 33 | 121 | | } |
| | | 122 | | } |
| | | 123 | | |
| | 46 | 124 | | return _rawMessageEncoder; |
| | | 125 | | } |
| | | 126 | | } |
| | | 127 | | |
| | | 128 | | private MessageEncoder TextMessageEncoder |
| | | 129 | | { |
| | | 130 | | get |
| | | 131 | | { |
| | 7 | 132 | | if (_textMessageEncoder == null) |
| | | 133 | | { |
| | 4 | 134 | | lock (ThisLock) |
| | | 135 | | { |
| | 4 | 136 | | if (_textMessageEncoder == null) |
| | | 137 | | { |
| | 4 | 138 | | TextMessageEncodingBindingElement textBindingElement = new TextMessageEncodingBindingEle |
| | 4 | 139 | | { |
| | 4 | 140 | | MaxReadPoolSize = _maxReadPoolSize, |
| | 4 | 141 | | MaxWritePoolSize = _maxWritePoolSize, |
| | 4 | 142 | | }; |
| | 4 | 143 | | _readerQuotas.CopyTo(textBindingElement.ReaderQuotas); |
| | 4 | 144 | | _textMessageEncoder = textBindingElement.CreateMessageEncoderFactory().Encoder; |
| | | 145 | | } |
| | 4 | 146 | | } |
| | | 147 | | } |
| | | 148 | | |
| | 7 | 149 | | return _textMessageEncoder; |
| | | 150 | | } |
| | | 151 | | } |
| | | 152 | | |
| | 66 | 153 | | private object ThisLock { get; } |
| | | 154 | | |
| | | 155 | | public override bool IsContentTypeSupported(string contentType) |
| | | 156 | | { |
| | 38 | 157 | | if (contentType == null) |
| | | 158 | | { |
| | 0 | 159 | | throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(contentType)); |
| | | 160 | | } |
| | | 161 | | |
| | 38 | 162 | | if (TryGetContentTypeMapping(contentType, out WebContentFormat messageFormat) && |
| | 38 | 163 | | (messageFormat != WebContentFormat.Default)) |
| | | 164 | | { |
| | 0 | 165 | | return true; |
| | | 166 | | } |
| | | 167 | | |
| | 38 | 168 | | return RawMessageEncoder.IsContentTypeSupported(contentType) || JsonMessageEncoder.IsContentTypeSupporte |
| | | 169 | | } |
| | | 170 | | |
| | | 171 | | public override Message ReadMessage(ArraySegment<byte> buffer, BufferManager bufferManager, string contentTy |
| | | 172 | | { |
| | 9 | 173 | | if (bufferManager == null) |
| | | 174 | | { |
| | 0 | 175 | | throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(bufferMan |
| | | 176 | | } |
| | | 177 | | |
| | 9 | 178 | | WebContentFormat format = GetFormatForContentType(contentType); |
| | | 179 | | Message message; |
| | | 180 | | |
| | | 181 | | switch (format) |
| | | 182 | | { |
| | | 183 | | case WebContentFormat.Json: |
| | 6 | 184 | | message = JsonMessageEncoder.ReadMessage(buffer, bufferManager, contentType); |
| | 6 | 185 | | message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.JsonPrope |
| | 6 | 186 | | break; |
| | | 187 | | case WebContentFormat.Xml: |
| | 1 | 188 | | message = TextMessageEncoder.ReadMessage(buffer, bufferManager, contentType); |
| | 1 | 189 | | message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.XmlProper |
| | 1 | 190 | | break; |
| | | 191 | | case WebContentFormat.Raw: |
| | 2 | 192 | | message = RawMessageEncoder.ReadMessage(buffer, bufferManager, contentType); |
| | 2 | 193 | | message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.RawProper |
| | 2 | 194 | | break; |
| | | 195 | | default: |
| | 0 | 196 | | throw Fx.AssertAndThrow("This should never get hit because GetFormatForContentType shouldn't ret |
| | | 197 | | } |
| | | 198 | | |
| | 9 | 199 | | return message; |
| | | 200 | | } |
| | | 201 | | |
| | | 202 | | public override async Task<Message> ReadMessageAsync(Stream stream, int maxSizeOfHeaders, string contentType |
| | | 203 | | { |
| | 2 | 204 | | if (stream == null) |
| | | 205 | | { |
| | 0 | 206 | | throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(stream))) |
| | | 207 | | } |
| | | 208 | | |
| | 2 | 209 | | WebContentFormat format = GetFormatForContentType(contentType); |
| | | 210 | | Message message; |
| | | 211 | | switch (format) |
| | | 212 | | { |
| | | 213 | | case WebContentFormat.Json: |
| | 0 | 214 | | message = await JsonMessageEncoder.ReadMessageAsync(stream, maxSizeOfHeaders, contentType); |
| | 0 | 215 | | message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.JsonPrope |
| | 0 | 216 | | break; |
| | | 217 | | case WebContentFormat.Xml: |
| | 1 | 218 | | message = await TextMessageEncoder.ReadMessageAsync(stream, maxSizeOfHeaders, contentType); |
| | 1 | 219 | | message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.XmlProper |
| | 1 | 220 | | break; |
| | | 221 | | case WebContentFormat.Raw: |
| | 1 | 222 | | message = await RawMessageEncoder.ReadMessageAsync(stream, maxSizeOfHeaders, contentType); |
| | 1 | 223 | | message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.RawProper |
| | 1 | 224 | | break; |
| | | 225 | | default: |
| | 0 | 226 | | throw Fx.AssertAndThrow("This should never get hit because GetFormatForContentType shouldn't ret |
| | | 227 | | } |
| | 2 | 228 | | return message; |
| | 2 | 229 | | } |
| | | 230 | | |
| | | 231 | | public override ArraySegment<byte> WriteMessage(Message message, int maxMessageSize, BufferManager bufferMan |
| | | 232 | | { |
| | 31 | 233 | | if (message == null) |
| | | 234 | | { |
| | 0 | 235 | | throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(message)) |
| | | 236 | | } |
| | | 237 | | |
| | 31 | 238 | | if (bufferManager == null) |
| | | 239 | | { |
| | 0 | 240 | | throw TraceUtility.ThrowHelperError(new ArgumentNullException(nameof(bufferManager)), message); |
| | | 241 | | } |
| | | 242 | | |
| | 31 | 243 | | if (maxMessageSize < 0) |
| | | 244 | | { |
| | 0 | 245 | | throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(maxMessageSize), maxMessa |
| | 0 | 246 | | SR.Format(SRCommon.ValueMustBeNonNegative)), message); |
| | | 247 | | } |
| | | 248 | | |
| | 31 | 249 | | if (messageOffset < 0 || messageOffset > maxMessageSize) |
| | | 250 | | { |
| | 0 | 251 | | throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(messageOffset), messageOf |
| | 0 | 252 | | SR.Format(SR.JsonValueMustBeInRange, 0, maxMessageSize)), message); |
| | | 253 | | } |
| | | 254 | | |
| | 31 | 255 | | ThrowIfMismatchedMessageVersion(message); |
| | | 256 | | |
| | 31 | 257 | | WebContentFormat messageFormat = ExtractFormatFromMessage(message); |
| | | 258 | | //JavascriptCallbackResponseMessageProperty javascriptResponseMessageProperty; |
| | | 259 | | switch (messageFormat) |
| | | 260 | | { |
| | | 261 | | case WebContentFormat.Json: |
| | 24 | 262 | | return JsonMessageEncoder.WriteMessage(message, maxMessageSize, bufferManager, messageOffset); |
| | | 263 | | case WebContentFormat.Xml: |
| | | 264 | | //if (message.Properties.TryGetValue<JavascriptCallbackResponseMessageProperty>(JavascriptCallba |
| | | 265 | | // javascriptResponseMessageProperty != null && |
| | | 266 | | // !String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) |
| | | 267 | | //{ |
| | | 268 | | // throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.JavascriptCallbackNot |
| | | 269 | | //} |
| | 2 | 270 | | return TextMessageEncoder.WriteMessage(message, maxMessageSize, bufferManager, messageOffset); |
| | | 271 | | case WebContentFormat.Raw: |
| | | 272 | | //if (message.Properties.TryGetValue<JavascriptCallbackResponseMessageProperty>(JavascriptCallba |
| | | 273 | | // javascriptResponseMessageProperty != null && |
| | | 274 | | // !String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) |
| | | 275 | | //{ |
| | | 276 | | // throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.JavascriptCallbackNot |
| | | 277 | | //} |
| | 5 | 278 | | return RawMessageEncoder.WriteMessage(message, maxMessageSize, bufferManager, messageOffset); |
| | | 279 | | default: |
| | 0 | 280 | | throw Fx.AssertAndThrow("This should never get hit because GetFormatForContentType shouldn't ret |
| | | 281 | | } |
| | | 282 | | } |
| | | 283 | | |
| | | 284 | | public override async Task WriteMessageAsync(Message message, Stream stream) |
| | | 285 | | { |
| | 0 | 286 | | if (message == null) |
| | | 287 | | { |
| | 0 | 288 | | throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(nameof(message)) |
| | | 289 | | } |
| | | 290 | | |
| | 0 | 291 | | if (stream == null) |
| | | 292 | | { |
| | 0 | 293 | | throw TraceUtility.ThrowHelperError(new ArgumentNullException("stream"), message); |
| | | 294 | | } |
| | | 295 | | |
| | 0 | 296 | | ThrowIfMismatchedMessageVersion(message); |
| | | 297 | | |
| | 0 | 298 | | WebContentFormat messageFormat = ExtractFormatFromMessage(message); |
| | | 299 | | //JavascriptCallbackResponseMessageProperty javascriptResponseMessageProperty; |
| | | 300 | | switch (messageFormat) |
| | | 301 | | { |
| | | 302 | | case WebContentFormat.Json: |
| | 0 | 303 | | await JsonMessageEncoder.WriteMessageAsync(message, stream); |
| | 0 | 304 | | break; |
| | | 305 | | case WebContentFormat.Xml: |
| | | 306 | | //if (message.Properties.TryGetValue<JavascriptCallbackResponseMessageProperty>(JavascriptCallba |
| | | 307 | | // javascriptResponseMessageProperty != null && |
| | | 308 | | // !string.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) |
| | | 309 | | //{ |
| | | 310 | | // throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.JavascriptCallbackNot |
| | | 311 | | //} |
| | 0 | 312 | | await TextMessageEncoder.WriteMessageAsync(message, stream); |
| | 0 | 313 | | break; |
| | | 314 | | case WebContentFormat.Raw: |
| | | 315 | | //if (message.Properties.TryGetValue<JavascriptCallbackResponseMessageProperty>(JavascriptCallba |
| | | 316 | | // javascriptResponseMessageProperty != null && |
| | | 317 | | // !string.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) |
| | | 318 | | //{ |
| | | 319 | | // throw TraceUtility.ThrowHelperError(new InvalidOperationException(SR.JavascriptCallbackNot |
| | | 320 | | //} |
| | 0 | 321 | | await RawMessageEncoder.WriteMessageAsync(message, stream); |
| | 0 | 322 | | break; |
| | | 323 | | default: |
| | 0 | 324 | | throw Fx.AssertAndThrow("This should never get hit because GetFormatForContentType shouldn't ret |
| | | 325 | | } |
| | 0 | 326 | | } |
| | | 327 | | |
| | 0 | 328 | | protected override bool IsCharSetSupported(string charSet) => TextEncoderDefaults.TryGetEncoding(charSet, ou |
| | | 329 | | |
| | | 330 | | private WebContentFormat ExtractFormatFromMessage(Message message) |
| | | 331 | | { |
| | 31 | 332 | | message.Properties.TryGetValue(WebBodyFormatMessageProperty.Name, out object messageFormatProperty); |
| | 31 | 333 | | if (messageFormatProperty == null) |
| | | 334 | | { |
| | 2 | 335 | | return WebContentFormat.Xml; |
| | | 336 | | } |
| | | 337 | | |
| | 29 | 338 | | if ((!(messageFormatProperty is WebBodyFormatMessageProperty typedMessageFormatProperty)) || |
| | 29 | 339 | | (typedMessageFormatProperty.Format == WebContentFormat.Default)) |
| | | 340 | | { |
| | 0 | 341 | | return WebContentFormat.Xml; |
| | | 342 | | } |
| | | 343 | | |
| | 29 | 344 | | return typedMessageFormatProperty.Format; |
| | | 345 | | } |
| | | 346 | | |
| | | 347 | | private WebContentFormat GetFormatForContentType(string contentType) |
| | | 348 | | { |
| | 11 | 349 | | if (TryGetContentTypeMapping(contentType, out WebContentFormat messageFormat) && |
| | 11 | 350 | | (messageFormat != WebContentFormat.Default)) |
| | | 351 | | { |
| | | 352 | | //if (DiagnosticUtility.ShouldTraceInformation) |
| | | 353 | | //{ |
| | | 354 | | // if (string.IsNullOrEmpty(contentType)) |
| | | 355 | | // { |
| | | 356 | | // contentType = "<null>"; |
| | | 357 | | // } |
| | | 358 | | // TraceUtility.TraceEvent(TraceEventType.Information, |
| | | 359 | | // TraceCode.RequestFormatSelectedFromContentTypeMapper, |
| | | 360 | | // SR.GetString(SR.TraceCodeRequestFormatSelectedFromContentTypeMapper, messageFormat.ToStrin |
| | | 361 | | //} |
| | 0 | 362 | | return messageFormat; |
| | | 363 | | } |
| | | 364 | | |
| | | 365 | | // Don't pass on null content types to IsContentTypeSupported methods -- they might throw. |
| | | 366 | | // If null content type isn't already mapped, return the default format of Raw. |
| | | 367 | | |
| | 11 | 368 | | if (contentType == null) |
| | | 369 | | { |
| | 2 | 370 | | messageFormat = WebContentFormat.Raw; |
| | | 371 | | } |
| | 9 | 372 | | else if (JsonMessageEncoder.IsContentTypeSupported(contentType)) |
| | | 373 | | { |
| | 6 | 374 | | messageFormat = WebContentFormat.Json; |
| | | 375 | | } |
| | 3 | 376 | | else if (TextMessageEncoder.IsContentTypeSupported(contentType)) |
| | | 377 | | { |
| | 2 | 378 | | messageFormat = WebContentFormat.Xml; |
| | | 379 | | } |
| | | 380 | | else |
| | | 381 | | { |
| | 1 | 382 | | messageFormat = WebContentFormat.Raw; |
| | | 383 | | } |
| | | 384 | | |
| | | 385 | | //if (DiagnosticUtility.ShouldTraceInformation) |
| | | 386 | | //{ |
| | | 387 | | // TraceUtility.TraceEvent(TraceEventType.Information, |
| | | 388 | | // TraceCode.RequestFormatSelectedByEncoderDefaults, |
| | | 389 | | // SR.GetString(SR.TraceCodeRequestFormatSelectedByEncoderDefaults, messageFormat.ToString(), con |
| | | 390 | | //} |
| | | 391 | | |
| | 11 | 392 | | return messageFormat; |
| | | 393 | | } |
| | | 394 | | |
| | | 395 | | private bool TryGetContentTypeMapping(string contentType, out WebContentFormat format) |
| | | 396 | | { |
| | 49 | 397 | | if (_contentTypeMapper == null) |
| | | 398 | | { |
| | 49 | 399 | | format = WebContentFormat.Default; |
| | 49 | 400 | | return false; |
| | | 401 | | } |
| | | 402 | | |
| | | 403 | | try |
| | | 404 | | { |
| | 0 | 405 | | format = _contentTypeMapper.GetMessageFormatForContentType(contentType); |
| | 0 | 406 | | if (!WebContentFormatHelper.IsDefined(format)) |
| | | 407 | | { |
| | 0 | 408 | | throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.Format(SR.Unk |
| | | 409 | | } |
| | 0 | 410 | | return true; |
| | | 411 | | } |
| | 0 | 412 | | catch (Exception e) |
| | | 413 | | { |
| | 0 | 414 | | if (Fx.IsFatal(e)) |
| | | 415 | | { |
| | 0 | 416 | | throw; |
| | | 417 | | } |
| | | 418 | | |
| | 0 | 419 | | throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException( |
| | 0 | 420 | | SR.Format(SR.ErrorEncounteredInContentTypeMapper), e)); |
| | | 421 | | } |
| | 0 | 422 | | } |
| | | 423 | | } |
| | | 424 | | } |
| | | 425 | | } |