{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1463","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1463/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1463/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1463/events","html_url":"https://github.com/swagger-api/swagger-codegen/pull/1463","id":113961171,"number":1463,"title":"Java jersey2: reuse a shared Client instance","user":{"login":"xhh","id":159740,"avatar_url":"https://avatars.githubusercontent.com/u/159740?v=3","gravatar_id":"","url":"https://api.github.com/users/xhh","html_url":"https://github.com/xhh","followers_url":"https://api.github.com/users/xhh/followers","following_url":"https://api.github.com/users/xhh/following{/other_user}","gists_url":"https://api.github.com/users/xhh/gists{/gist_id}","starred_url":"https://api.github.com/users/xhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhh/subscriptions","organizations_url":"https://api.github.com/users/xhh/orgs","repos_url":"https://api.github.com/users/xhh/repos","events_url":"https://api.github.com/users/xhh/events{/privacy}","received_events_url":"https://api.github.com/users/xhh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Client:%20Java","name":"Client: Java","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/8","html_url":"https://github.com/swagger-api/swagger-codegen/milestones/v2.1.5","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/8/labels","id":1295192,"number":8,"title":"v2.1.5","description":"","creator":{"login":"webron","id":241629,"avatar_url":"https://avatars.githubusercontent.com/u/241629?v=3","gravatar_id":"","url":"https://api.github.com/users/webron","html_url":"https://github.com/webron","followers_url":"https://api.github.com/users/webron/followers","following_url":"https://api.github.com/users/webron/following{/other_user}","gists_url":"https://api.github.com/users/webron/gists{/gist_id}","starred_url":"https://api.github.com/users/webron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webron/subscriptions","organizations_url":"https://api.github.com/users/webron/orgs","repos_url":"https://api.github.com/users/webron/repos","events_url":"https://api.github.com/users/webron/events{/privacy}","received_events_url":"https://api.github.com/users/webron/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":61,"state":"open","created_at":"2015-09-08T12:37:46Z","updated_at":"2015-11-11T13:23:01Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-10-29T01:44:51Z","updated_at":"2015-11-12T06:35:34Z","closed_at":"2015-10-30T01:56:15Z","pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/1463","html_url":"https://github.com/swagger-api/swagger-codegen/pull/1463","diff_url":"https://github.com/swagger-api/swagger-codegen/pull/1463.diff","patch_url":"https://github.com/swagger-api/swagger-codegen/pull/1463.patch"},"body":"According to [the feedback](https://github.com/swagger-api/swagger-codegen/issues/1435#issuecomment-151606194) from @fabiankessler"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/156014545","html_url":"https://github.com/swagger-api/swagger-codegen/pull/1463#issuecomment-156014545","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1463","id":156014545,"user":{"login":"chenjianjx","id":877737,"avatar_url":"https://avatars.githubusercontent.com/u/877737?v=3","gravatar_id":"","url":"https://api.github.com/users/chenjianjx","html_url":"https://github.com/chenjianjx","followers_url":"https://api.github.com/users/chenjianjx/followers","following_url":"https://api.github.com/users/chenjianjx/following{/other_user}","gists_url":"https://api.github.com/users/chenjianjx/gists{/gist_id}","starred_url":"https://api.github.com/users/chenjianjx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenjianjx/subscriptions","organizations_url":"https://api.github.com/users/chenjianjx/orgs","repos_url":"https://api.github.com/users/chenjianjx/repos","events_url":"https://api.github.com/users/chenjianjx/events{/privacy}","received_events_url":"https://api.github.com/users/chenjianjx/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T06:35:34Z","updated_at":"2015-11-12T06:35:34Z","body":"@wing328 then there would be performance issues, wouldn't there?  User sends a request => creates a new ApiClient => Creates a new socket ?   Opening and closing sockets are expensive unless there is a connection pool like those for JDBC. "}}