grpc-java/okhttp
Chengyuan Zhang 0db0c637a1
okhttp: add verbose logging for OkHttp HTTP/2 frame content (#5488)
* okhttp: add verbose logging for OkHttp HTTP/2 frames to include brief frame content.

* fix small details and typo issues

* fix branch condition (it's a typo) for logging the whole buffer

* remove redudent log level checking, always not log entire buffer

* convert ByteString to String to avoid printing 'hex=' prefix

* add test for OkHttpFrameLogger for inbound http frames

* refactor OkHttpFrameLogger's help method

* add Constructor for testing and missing logHeaders

* add http/2 framelogger test for outbound side

* use ArgumentMatchers instead of Matchers

* replace assertTrue with Truth.assertThat

* assert buffer log with exact length match instead of <=
2019-04-04 15:35:19 -07:00
..
src okhttp: add verbose logging for OkHttp HTTP/2 frame content (#5488) 2019-04-04 15:35:19 -07:00
third_party/okhttp all: remove java6 type args 2019-02-04 10:03:50 -08:00
BUILD.bazel Add missing j2objc dependency to Bazel build 2018-11-13 13:39:35 -08:00
build.gradle okhttp: use java 7, avoid compiler varargs warning (#4806) 2018-08-28 11:53:15 -07:00