void complete() { synchronized (Http2ServerConnection.this) { response = new Http2ServerResponseImpl(Http2ServerConnection.this, this, method, true, contentEncoding, null); if (METRICS_ENABLED && metrics != null) { response.metric(metrics.responsePushed(conn.metric(), method, uri, response)); } completionHandler.complete(response); } } }
void complete() { synchronized (Http2ServerConnection.this) { response = new Http2ServerResponseImpl(Http2ServerConnection.this, this, method, true, contentEncoding, null); if (METRICS_ENABLED && metrics != null) { response.metric(metrics.responsePushed(conn.metric(), method, uri, response)); } completionHandler.complete(response); } } }