MCPcopy Index your code
hub / github.com/dianping/cat / logRequestPayload

Method logRequestPayload

integration/URL/CatFilter.java:160–173  ·  view source on GitHub ↗
(HttpServletRequest req, String type)

Source from the content-addressed store, hash-verified

158 }
159
160 protected void logRequestPayload(HttpServletRequest req, String type) {
161 StringBuilder sb = new StringBuilder(256);
162
163 sb.append(req.getScheme().toUpperCase()).append('/');
164 sb.append(req.getMethod()).append(' ').append(req.getRequestURI());
165
166 String qs = req.getQueryString();
167
168 if (qs != null) {
169 sb.append('?').append(qs);
170 }
171
172 Cat.logEvent(type, type + ".Method", Message.SUCCESS, sb.toString());
173 }
174 },
175
176 LOG_SPAN {

Callers 1

handleMethod · 0.95

Calls 6

logEventMethod · 0.95
getQueryStringMethod · 0.80
appendMethod · 0.45
getMethodMethod · 0.45
getRequestURIMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected