[jira] [Created] (FLINK-7583) Create singleton isntance for the content type header

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-7583) Create singleton isntance for the content type header

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-7583:
---------------------------------------

             Summary: Create singleton isntance for the content type header
                 Key: FLINK-7583
                 URL: https://issues.apache.org/jira/browse/FLINK-7583
             Project: Flink
          Issue Type: Improvement
          Components: REST
    Affects Versions: 1.4.0
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.4.0


The content type header for all rest requests/responses is always the same, but we currently allocate a separate string for each request/response. We should instead use a static constant.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)