Skip to content

Commit

Permalink
some enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
karsonto committed Apr 3, 2024
1 parent 24895fa commit f897504
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public void sendResponse(final ChannelHandlerContext ctx, final DefaultFullHttpR
* @param httpRequest
* @return
*/
protected Map<String, Object> parseHttpRequestBody(final HttpRequest httpRequest) throws IOException {
private Map<String, Object> parseHttpRequestBody(final HttpRequest httpRequest) throws IOException {
return HttpRequestUtil.parseHttpRequestBody(httpRequest, () -> System.currentTimeMillis(),
(startTime) -> metrics.getSummaryMetrics().recordDecodeTimeCost(System.currentTimeMillis() - startTime));
}
Expand Down

0 comments on commit f897504

Please sign in to comment.