{"action":"created","comment":{"url":"https://api.github.com/repos/hhru/nuts-and-bolts/pulls/comments/39871663","id":39871663,"diff_hunk":"@@ -0,0 +1,64 @@\n+package ru.hh.nab.jersey;\n+\n+import com.sun.jersey.spi.container.ContainerResponse;\n+import com.sun.jersey.spi.container.ContainerResponseWriter;\n+import org.glassfish.grizzly.http.server.Response;\n+import java.io.IOException;\n+import java.io.OutputStream;\n+import java.util.List;\n+import java.util.Map;\n+\n+public final class JerseyToGrizzlyResponseWriter implements ContainerResponseWriter {\n+  private final Response response;\n+  private final boolean allowFlush;\n+  private IoExceptionCatchingOutputStreamWrapper osWrapper;\n+\n+  JerseyToGrizzlyResponseWriter(Response response, boolean allowFlush) {\n+    this.response = response;\n+    this.allowFlush = allowFlush;\n+  }\n+\n+  // Returns IOException if Grizzly encountered problems when sending response\n+  public IOException getIoException() {","path":"nuts-and-bolts/src/main/java/ru/hh/nab/jersey/JerseyToGrizzlyResponseWriter.java","position":null,"original_position":22,"commit_id":"95d47340bbb0b84b3cc77e9882d4cb5d7e561292","original_commit_id":"5ff855ad746ff29094cf54ec505a50f1333a0f55","user":{"login":"mmfedotov","id":1107496,"avatar_url":"https://avatars.githubusercontent.com/u/1107496?v=3","gravatar_id":"","url":"https://api.github.com/users/mmfedotov","html_url":"https://github.com/mmfedotov","followers_url":"https://api.github.com/users/mmfedotov/followers","following_url":"https://api.github.com/users/mmfedotov/following{/other_user}","gists_url":"https://api.github.com/users/mmfedotov/gists{/gist_id}","starred_url":"https://api.github.com/users/mmfedotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmfedotov/subscriptions","organizations_url":"https://api.github.com/users/mmfedotov/orgs","repos_url":"https://api.github.com/users/mmfedotov/repos","events_url":"https://api.github.com/users/mmfedotov/events{/privacy}","received_events_url":"https://api.github.com/users/mmfedotov/received_events","type":"User","site_admin":false},"body":"Убрал везде public. Пользы не вижу вреда тоже","created_at":"2015-09-18T16:05:11Z","updated_at":"2015-09-18T16:05:11Z","html_url":"https://github.com/hhru/nuts-and-bolts/pull/33#discussion_r39871663","pull_request_url":"https://api.github.com/repos/hhru/nuts-and-bolts/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/hhru/nuts-and-bolts/pulls/comments/39871663"},"html":{"href":"https://github.com/hhru/nuts-and-bolts/pull/33#discussion_r39871663"},"pull_request":{"href":"https://api.github.com/repos/hhru/nuts-and-bolts/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/hhru/nuts-and-bolts/pulls/33","id":45270858,"html_url":"https://github.com/hhru/nuts-and-bolts/pull/33","diff_url":"https://github.com/hhru/nuts-and-bolts/pull/33.diff","patch_url":"https://github.com/hhru/nuts-and-bolts/pull/33.patch","issue_url":"https://api.github.com/repos/hhru/nuts-and-bolts/issues/33","number":33,"state":"open","locked":false,"title":"HH-55197 disable buffering for nginx","user":{"login":"mmfedotov","id":1107496,"avatar_url":"https://avatars.githubusercontent.com/u/1107496?v=3","gravatar_id":"","url":"https://api.github.com/users/mmfedotov","html_url":"https://github.com/mmfedotov","followers_url":"https://api.github.com/users/mmfedotov/followers","following_url":"https://api.github.com/users/mmfedotov/following{/other_user}","gists_url":"https://api.github.com/users/mmfedotov/gists{/gist_id}","starred_url":"https://api.github.com/users/mmfedotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmfedotov/subscriptions","organizations_url":"https://api.github.com/users/mmfedotov/orgs","repos_url":"https://api.github.com/users/mmfedotov/repos","events_url":"https://api.github.com/users/mmfedotov/events{/privacy}","received_events_url":"https://api.github.com/users/mmfedotov/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-17T09:46:58Z","updated_at":"2015-09-18T16:05:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab2a98a82d92a17dd39901911070e332d1575818","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hhru/nuts-and-bolts/pulls/33/commits","review_comments_url":"https://api.github.com/repos/hhru/nuts-and-bolts/pulls/33/comments","review_comment_url":"https://api.github.com/repos/hhru/nuts-and-bolts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hhru/nuts-and-bolts/issues/33/comments","statuses_url":"https://api.github.com/repos/hhru/nuts-and-bolts/statuses/95d47340bbb0b84b3cc77e9882d4cb5d7e561292","head":{"label":"hhru:HH-55197","ref":"HH-55197","sha":"95d47340bbb0b84b3cc77e9882d4cb5d7e561292","user":{"login":"hhru","id":152753,"avatar_url":"https://avatars.githubusercontent.com/u/152753?v=3","gravatar_id":"","url":"https://api.github.com/users/hhru","html_url":"https://github.com/hhru","followers_url":"https://api.github.com/users/hhru/followers","following_url":"https://api.github.com/users/hhru/following{/other_user}","gists_url":"https://api.github.com/users/hhru/gists{/gist_id}","starred_url":"https://api.github.com/users/hhru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhru/subscriptions","organizations_url":"https://api.github.com/users/hhru/orgs","repos_url":"https://api.github.com/users/hhru/repos","events_url":"https://api.github.com/users/hhru/events{/privacy}","received_events_url":"https://api.github.com/users/hhru/received_events","type":"Organization","site_admin":false},"repo":{"id":864122,"name":"nuts-and-bolts","full_name":"hhru/nuts-and-bolts","owner":{"login":"hhru","id":152753,"avatar_url":"https://avatars.githubusercontent.com/u/152753?v=3","gravatar_id":"","url":"https://api.github.com/users/hhru","html_url":"https://github.com/hhru","followers_url":"https://api.github.com/users/hhru/followers","following_url":"https://api.github.com/users/hhru/following{/other_user}","gists_url":"https://api.github.com/users/hhru/gists{/gist_id}","starred_url":"https://api.github.com/users/hhru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhru/subscriptions","organizations_url":"https://api.github.com/users/hhru/orgs","repos_url":"https://api.github.com/users/hhru/repos","events_url":"https://api.github.com/users/hhru/events{/privacy}","received_events_url":"https://api.github.com/users/hhru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hhru/nuts-and-bolts","description":"Maintainers: Федотов","fork":false,"url":"https://api.github.com/repos/hhru/nuts-and-bolts","forks_url":"https://api.github.com/repos/hhru/nuts-and-bolts/forks","keys_url":"https://api.github.com/repos/hhru/nuts-and-bolts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hhru/nuts-and-bolts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hhru/nuts-and-bolts/teams","hooks_url":"https://api.github.com/repos/hhru/nuts-and-bolts/hooks","issue_events_url":"https://api.github.com/repos/hhru/nuts-and-bolts/issues/events{/number}","events_url":"https://api.github.com/repos/hhru/nuts-and-bolts/events","assignees_url":"https://api.github.com/repos/hhru/nuts-and-bolts/assignees{/user}","branches_url":"https://api.github.com/repos/hhru/nuts-and-bolts/branches{/branch}","tags_url":"https://api.github.com/repos/hhru/nuts-and-bolts/tags","blobs_url":"https://api.github.com/repos/hhru/nuts-and-bolts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hhru/nuts-and-bolts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hhru/nuts-and-bolts/git/refs{/sha}","trees_url":"https://api.github.com/repos/hhru/nuts-and-bolts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hhru/nuts-and-bolts/statuses/{sha}","languages_url":"https://api.github.com/repos/hhru/nuts-and-bolts/languages","stargazers_url":"https://api.github.com/repos/hhru/nuts-and-bolts/stargazers","contributors_url":"https://api.github.com/repos/hhru/nuts-and-bolts/contributors","subscribers_url":"https://api.github.com/repos/hhru/nuts-and-bolts/subscribers","subscription_url":"https://api.github.com/repos/hhru/nuts-and-bolts/subscription","commits_url":"https://api.github.com/repos/hhru/nuts-and-bolts/commits{/sha}","git_commits_url":"https://api.github.com/repos/hhru/nuts-and-bolts/git/commits{/sha}","comments_url":"https://api.github.com/repos/hhru/nuts-and-bolts/comments{/number}","issue_comment_url":"https://api.github.com/repos/hhru/nuts-and-bolts/issues/comments{/number}","contents_url":"https://api.github.com/repos/hhru/nuts-and-bolts/contents/{+path}","compare_url":"https://api.github.com/repos/hhru/nuts-and-bolts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hhru/nuts-and-bolts/merges","archive_url":"https://api.github.com/repos/hhru/nuts-and-bolts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hhru/nuts-and-bolts/downloads","issues_url":"https://api.github.com/repos/hhru/nuts-and-bolts/issues{/number}","pulls_url":"https://api.github.com/repos/hhru/nuts-and-bolts/pulls{/number}","milestones_url":"https://api.github.com/repos/hhru/nuts-and-bolts/milestones{/number}","notifications_url":"https://api.github.com/repos/hhru/nuts-and-bolts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hhru/nuts-and-bolts/labels{/name}","releases_url":"https://api.github.com/repos/hhru/nuts-and-bolts/releases{/id}","created_at":"2010-08-26T14:05:41Z","updated_at":"2015-04-28T16:25:53Z","pushed_at":"2015-09-18T16:04:20Z","git_url":"git://github.com/hhru/nuts-and-bolts.git","ssh_url":"git@github.com:hhru/nuts-and-bolts.git","clone_url":"https://github.com/hhru/nuts-and-bolts.git","svn_url":"https://github.com/hhru/nuts-and-bolts","homepage":"web application framework for HeadHunter  internal services","size":2030,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"hhru:master","ref":"master","sha":"ea8fceb819a36ab6ef5dc220696358056759f41f","user":{"login":"hhru","id":152753,"avatar_url":"https://avatars.githubusercontent.com/u/152753?v=3","gravatar_id":"","url":"https://api.github.com/users/hhru","html_url":"https://github.com/hhru","followers_url":"https://api.github.com/users/hhru/followers","following_url":"https://api.github.com/users/hhru/following{/other_user}","gists_url":"https://api.github.com/users/hhru/gists{/gist_id}","starred_url":"https://api.github.com/users/hhru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhru/subscriptions","organizations_url":"https://api.github.com/users/hhru/orgs","repos_url":"https://api.github.com/users/hhru/repos","events_url":"https://api.github.com/users/hhru/events{/privacy}","received_events_url":"https://api.github.com/users/hhru/received_events","type":"Organization","site_admin":false},"repo":{"id":864122,"name":"nuts-and-bolts","full_name":"hhru/nuts-and-bolts","owner":{"login":"hhru","id":152753,"avatar_url":"https://avatars.githubusercontent.com/u/152753?v=3","gravatar_id":"","url":"https://api.github.com/users/hhru","html_url":"https://github.com/hhru","followers_url":"https://api.github.com/users/hhru/followers","following_url":"https://api.github.com/users/hhru/following{/other_user}","gists_url":"https://api.github.com/users/hhru/gists{/gist_id}","starred_url":"https://api.github.com/users/hhru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhru/subscriptions","organizations_url":"https://api.github.com/users/hhru/orgs","repos_url":"https://api.github.com/users/hhru/repos","events_url":"https://api.github.com/users/hhru/events{/privacy}","received_events_url":"https://api.github.com/users/hhru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hhru/nuts-and-bolts","description":"Maintainers: Федотов","fork":false,"url":"https://api.github.com/repos/hhru/nuts-and-bolts","forks_url":"https://api.github.com/repos/hhru/nuts-and-bolts/forks","keys_url":"https://api.github.com/repos/hhru/nuts-and-bolts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hhru/nuts-and-bolts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hhru/nuts-and-bolts/teams","hooks_url":"https://api.github.com/repos/hhru/nuts-and-bolts/hooks","issue_events_url":"https://api.github.com/repos/hhru/nuts-and-bolts/issues/events{/number}","events_url":"https://api.github.com/repos/hhru/nuts-and-bolts/events","assignees_url":"https://api.github.com/repos/hhru/nuts-and-bolts/assignees{/user}","branches_url":"https://api.github.com/repos/hhru/nuts-and-bolts/branches{/branch}","tags_url":"https://api.github.com/repos/hhru/nuts-and-bolts/tags","blobs_url":"https://api.github.com/repos/hhru/nuts-and-bolts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hhru/nuts-and-bolts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hhru/nuts-and-bolts/git/refs{/sha}","trees_url":"https://api.github.com/repos/hhru/nuts-and-bolts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hhru/nuts-and-bolts/statuses/{sha}","languages_url":"https://api.github.com/repos/hhru/nuts-and-bolts/languages","stargazers_url":"https://api.github.com/repos/hhru/nuts-and-bolts/stargazers","contributors_url":"https://api.github.com/repos/hhru/nuts-and-bolts/contributors","subscribers_url":"https://api.github.com/repos/hhru/nuts-and-bolts/subscribers","subscription_url":"https://api.github.com/repos/hhru/nuts-and-bolts/subscription","commits_url":"https://api.github.com/repos/hhru/nuts-and-bolts/commits{/sha}","git_commits_url":"https://api.github.com/repos/hhru/nuts-and-bolts/git/commits{/sha}","comments_url":"https://api.github.com/repos/hhru/nuts-and-bolts/comments{/number}","issue_comment_url":"https://api.github.com/repos/hhru/nuts-and-bolts/issues/comments{/number}","contents_url":"https://api.github.com/repos/hhru/nuts-and-bolts/contents/{+path}","compare_url":"https://api.github.com/repos/hhru/nuts-and-bolts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hhru/nuts-and-bolts/merges","archive_url":"https://api.github.com/repos/hhru/nuts-and-bolts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hhru/nuts-and-bolts/downloads","issues_url":"https://api.github.com/repos/hhru/nuts-and-bolts/issues{/number}","pulls_url":"https://api.github.com/repos/hhru/nuts-and-bolts/pulls{/number}","milestones_url":"https://api.github.com/repos/hhru/nuts-and-bolts/milestones{/number}","notifications_url":"https://api.github.com/repos/hhru/nuts-and-bolts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hhru/nuts-and-bolts/labels{/name}","releases_url":"https://api.github.com/repos/hhru/nuts-and-bolts/releases{/id}","created_at":"2010-08-26T14:05:41Z","updated_at":"2015-04-28T16:25:53Z","pushed_at":"2015-09-18T16:04:20Z","git_url":"git://github.com/hhru/nuts-and-bolts.git","ssh_url":"git@github.com:hhru/nuts-and-bolts.git","clone_url":"https://github.com/hhru/nuts-and-bolts.git","svn_url":"https://github.com/hhru/nuts-and-bolts","homepage":"web application framework for HeadHunter  internal services","size":2030,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hhru/nuts-and-bolts/pulls/33"},"html":{"href":"https://github.com/hhru/nuts-and-bolts/pull/33"},"issue":{"href":"https://api.github.com/repos/hhru/nuts-and-bolts/issues/33"},"comments":{"href":"https://api.github.com/repos/hhru/nuts-and-bolts/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/hhru/nuts-and-bolts/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/hhru/nuts-and-bolts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hhru/nuts-and-bolts/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/hhru/nuts-and-bolts/statuses/95d47340bbb0b84b3cc77e9882d4cb5d7e561292"}}}}