You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Vjacheslav Borisov (JIRA)" <ji...@apache.org> on 2018/12/05 07:52:00 UTC
[jira] [Created] (CXF-7920) Option to customize
BINARY_CONTENT_MEDIA_TYPES in DefaultLogEventMapper
Vjacheslav Borisov created CXF-7920:
---------------------------------------
Summary: 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
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)