You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2019/04/30 09:21:00 UTC
[jira] [Resolved] (CXF-7920) Option to customize
BINARY_CONTENT_MEDIA_TYPES in DefaultLogEventMapper
[ https://issues.apache.org/jira/browse/CXF-7920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh resolved CXF-7920.
--------------------------------------
Resolution: Fixed
Fix Version/s: 3.3.1
> Option to customize BINARY_CONTENT_MEDIA_TYPES in DefaultLogEventMapper
> -----------------------------------------------------------------------
>
> Key: CXF-7920
> URL: https://issues.apache.org/jira/browse/CXF-7920
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 3.2.7
> Reporter: Vjacheslav Borisov
> Priority: Minor
> Fix For: 3.3.1
>
>
> DefaultLogEventMapper contains hard coded binary type
> {code:java}
> // code placeholder
> static {
> BINARY_CONTENT_MEDIA_TYPES = new HashSet<>();
> BINARY_CONTENT_MEDIA_TYPES.add("application/octet-stream");
> BINARY_CONTENT_MEDIA_TYPES.add("application/pdf");
> BINARY_CONTENT_MEDIA_TYPES.add("image/png");
> BINARY_CONTENT_MEDIA_TYPES.add("image/jpeg");
> BINARY_CONTENT_MEDIA_TYPES.add("image/gif");
> }
> {code}
> And all other binary types like application/vnd.oasis.opendocument.spreadsheet are logged.
> There should be option to customize this list
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)